Skip to content

Commit fa03f06

Browse files
committed
always bring in front when activating
1 parent e39905d commit fa03f06

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Flitro/FlitroApp.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,9 @@ func showMainWindow() {
127127
String(describing: type(of: $0)) != "NSStatusBarWindow" &&
128128
$0.level == .normal
129129
}) {
130-
if !window.isVisible {
131-
window.orderFrontRegardless()
132-
}
130+
// Bring the window to the front
131+
window.orderFrontRegardless()
132+
// Make it the key window
133133
window.makeKeyAndOrderFront(nil)
134134
}
135135
}

0 commit comments

Comments
 (0)