Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Sources/TinyHand/OverlayController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,8 @@ final class OverlayController {

private static func menuBarRect(_ screen: NSScreen) -> CGRect {
let height = max(24, screen.frame.maxY - screen.visibleFrame.maxY)
return CGRect(x: screen.frame.minX, y: screen.frame.maxY - height, width: screen.frame.width, height: height)
// One point taller than the bar, so the top row of pixels (y == maxY) counts as inside it too.
return CGRect(x: screen.frame.minX, y: screen.frame.maxY - height, width: screen.frame.width, height: height + 1)
}

private static func openMenus() -> [CGRect] {
Expand Down