aboutsummaryrefslogtreecommitdiff
path: root/Hotline/Library/HotlinePanel.swift
diff options
context:
space:
mode:
Diffstat (limited to 'Hotline/Library/HotlinePanel.swift')
-rw-r--r--Hotline/Library/HotlinePanel.swift6
1 files changed, 3 insertions, 3 deletions
diff --git a/Hotline/Library/HotlinePanel.swift b/Hotline/Library/HotlinePanel.swift
index 191e89a..d7d8284 100644
--- a/Hotline/Library/HotlinePanel.swift
+++ b/Hotline/Library/HotlinePanel.swift
@@ -8,12 +8,12 @@ class HotlinePanel: NSPanel {
super.init(contentRect: NSRect(x: 0, y: 0, width: HOTLINE_PANEL_SIZE.width, height: HOTLINE_PANEL_SIZE.height), styleMask: [.nonactivatingPanel, .titled, .closable, .utilityWindow, .fullSizeContentView], backing: .buffered, defer: false)
// Make sure that the panel is in front of almost all other windows
- self.isFloatingPanel = false
+ self.isFloatingPanel = true
self.level = .floating
self.hidesOnDeactivate = true
self.animationBehavior = .utilityWindow
- // Allow the panel to appear in a fullscreen space
+ // Allow the panelto appear in a fullscreen space
// self.collectionBehavior.insert(.fullScreenAuxiliary)
self.collectionBehavior.insert(.canJoinAllSpaces)
self.collectionBehavior.insert(.ignoresCycle)
@@ -23,7 +23,7 @@ class HotlinePanel: NSPanel {
// Don't delete panel state when it's closed.
self.isReleasedWhenClosed = false
- self.standardWindowButton(.closeButton)?.isHidden = true
+ self.standardWindowButton(.closeButton)?.isHidden = false
self.standardWindowButton(.zoomButton)?.isHidden = true
self.standardWindowButton(.miniaturizeButton)?.isHidden = true