Skip to content

Commit

Permalink
Add padding to application menu frame check
Browse files Browse the repository at this point in the history
Fixes #60
  • Loading branch information
jordanbaird committed Jul 23, 2024
1 parent ea8cacb commit aa7f5b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Ice/MenuBar/MenuBarManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ final class MenuBarManager: ObservableObject {

// if the offset value is less than or equal to the maxX of the
// application menu frame, activate the app to hide the menu
if offsetMinX <= applicationMenuFrame.maxX {
if offsetMinX <= applicationMenuFrame.maxX + 15 {
hideApplicationMenus()
}
} else if isHidingApplicationMenus {
Expand Down

0 comments on commit aa7f5b7

Please sign in to comment.