Skip to content

Commit

Permalink
Adjust application menu frame mouse check
Browse files Browse the repository at this point in the history
Fixes #287
  • Loading branch information
jordanbaird committed Aug 3, 2024
1 parent 77d2995 commit 52a0398
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Ice/Events/EventManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,8 @@ extension EventManager {
else {
return false
}
applicationMenuFrame.size.width += 15 // extra width to accomodate menu padding
applicationMenuFrame.size.width += applicationMenuFrame.origin.x - screen.frame.origin.x
applicationMenuFrame.origin.x = screen.frame.origin.x
return applicationMenuFrame.contains(mouseLocation)
}

Expand Down

0 comments on commit 52a0398

Please sign in to comment.