aboutsummaryrefslogtreecommitdiff
path: root/Hotline/macOS
diff options
context:
space:
mode:
Diffstat (limited to 'Hotline/macOS')
-rw-r--r--Hotline/macOS/HotlinePanelView.swift8
1 files changed, 7 insertions, 1 deletions
diff --git a/Hotline/macOS/HotlinePanelView.swift b/Hotline/macOS/HotlinePanelView.swift
index 69d00aa..9915e49 100644
--- a/Hotline/macOS/HotlinePanelView.swift
+++ b/Hotline/macOS/HotlinePanelView.swift
@@ -16,7 +16,13 @@ struct HotlinePanelView: View {
HStack(spacing: 16) {
Button {
- openWindow(id: "servers")
+ if let event = NSApp.currentEvent,
+ event.modifierFlags.contains(.option) {
+ openWindow(id: "server")
+ }
+ else {
+ openWindow(id: "servers")
+ }
}
label: {
Image(systemName: "globe.americas.fill")