Skip to content

Commit

Permalink
Quick fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanbaird committed Apr 22, 2024
1 parent 6ad45c7 commit 5151d35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Ice/Events/EventManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ final class EventManager {
width += item.frame.width
}
let mouseX = NSEvent.mouseLocation.x
return mouseX - screen.frame.origin.x > applicationMenuFrame.maxX && mouseX < screen.frame.maxX - totalWidth
return mouseX > applicationMenuFrame.maxX && mouseX < screen.frame.maxX - totalWidth
}

private func isMouseOutsideMenuBar(of screen: NSScreen) -> Bool {
Expand Down

0 comments on commit 5151d35

Please sign in to comment.