You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SecureInputPanel: Avoid calling view adding logic on refresh if already visible. Remove the panel when AeroSpace is disabled. Fix caption to mention AeroSpace, so the user knows where the message comes from. Also use default system font.
@@ -24,7 +28,7 @@ public class SecureInputPanel: NSPanelHud {
24
28
self.setFrame(panelFrame, display:true)
25
29
self.orderFrontRegardless()
26
30
}else{
27
-
close()
31
+
if isVisible {close()}
28
32
}
29
33
}
30
34
@@ -56,8 +60,8 @@ struct SecureInputView: View {
56
60
.aspectRatio(contentMode:.fit)
57
61
.padding(6)
58
62
}else{
59
-
Text("**Secure Input** is active. **Secure Input** is a macOS security feature that prevents applications from reading keyboard events.")
60
-
.font(.system(.title3, design:.monospaced))
63
+
Text("AeroSpace cannot respond to keyboard shortcuts while **Secure Input** is active. **Secure Input** is a macOS security feature that prevents applications from reading keyboard events.")
0 commit comments