diff options
| author | Dustin Mierau <dustin@mierau.me> | 2024-05-06 16:51:42 -0700 |
|---|---|---|
| committer | Dustin Mierau <dustin@mierau.me> | 2024-05-06 16:51:42 -0700 |
| commit | 043bfc4cf7b8cd5f6247ed2af82ff0159622f7d6 (patch) | |
| tree | 4c9613c61731b6690c57a845eb96f0999e8ae0d6 /Hotline/macOS/HotlinePanelView.swift | |
| parent | cda35aa9e697736b1cf0e8422c8cc18654dc7f11 (diff) | |
Fix some flakiness around the banner window when moving between fullscreen/spaces and desktop.
Diffstat (limited to 'Hotline/macOS/HotlinePanelView.swift')
| -rw-r--r-- | Hotline/macOS/HotlinePanelView.swift | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Hotline/macOS/HotlinePanelView.swift b/Hotline/macOS/HotlinePanelView.swift index d136869..d486761 100644 --- a/Hotline/macOS/HotlinePanelView.swift +++ b/Hotline/macOS/HotlinePanelView.swift @@ -8,7 +8,7 @@ struct HotlinePanelView: View { @FocusedValue(\.activeServerState) private var activeServerState: ServerState? var body: some View { - VStack { + VStack(spacing: 0) { Image(nsImage: ApplicationState.shared.activeServerBanner ?? NSImage(named: "Default Banner")!) .interpolation(.high) .resizable() @@ -97,16 +97,16 @@ struct HotlinePanelView: View { .frame(width: 18, height: 18) .help("Settings") } - .padding(.top, 8) + .padding(.top, 16) .padding(.bottom, 16) .padding([.leading, .trailing], 16) } // .frame(width: 468) // .background(colorScheme == .dark ? .black : .white) - .background( - VisualEffectView(material: .headerView, blendingMode: .behindWindow) - .cornerRadius(10.0) - ) +// .background( +// VisualEffectView(material: .headerView, blendingMode: .behindWindow) +// .cornerRadius(10.0) +// ) } } |