Skip to content

Commit

Permalink
Fix "focused app" auto-rehide when clicking a menu bar item on an ina…
Browse files Browse the repository at this point in the history
…ctive display

Fixes #24
  • Loading branch information
jordanbaird committed Jul 13, 2024
1 parent 3241e39 commit 7650b35
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Ice/MenuBar/MenuBarManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,8 @@ final class MenuBarManager: ObservableObject {
let self,
let appState,
case .focusedApp = appState.settingsManager.generalSettingsManager.rehideStrategy,
let hiddenSection = section(withName: .hidden)
let hiddenSection = section(withName: .hidden),
!appState.eventManager.isMouseInsideMenuBar
{
Task {
try await Task.sleep(for: .seconds(0.1))
Expand Down

0 comments on commit 7650b35

Please sign in to comment.