diff options
| author | Tommaso Negri <me@tommasongr.com> | 2026-08-09 23:58:42 +0200 |
|---|---|---|
| committer | Tommaso Negri <me@tommasongr.com> | 2026-08-09 23:58:44 +0200 |
| commit | d59b22e557fa5d69ea6be725a7e5bcd829588225 (patch) | |
| tree | 618e20ef2b648e46eac3d51e14b8e0fcc1faba3c /Sources/phbar/Views/BarWindow.swift | |
| parent | 62ce97dcb63d61c8db739c1b32bd387042ca66a0 (diff) | |
| download | bar-d59b22e557fa5d69ea6be725a7e5bcd829588225.tar.gz bar-d59b22e557fa5d69ea6be725a7e5bcd829588225.zip | |
rename project and add documentation guides
Diffstat (limited to 'Sources/phbar/Views/BarWindow.swift')
| -rw-r--r-- | Sources/phbar/Views/BarWindow.swift | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/Sources/phbar/Views/BarWindow.swift b/Sources/phbar/Views/BarWindow.swift deleted file mode 100644 index ce65432..0000000 --- a/Sources/phbar/Views/BarWindow.swift +++ /dev/null @@ -1,32 +0,0 @@ -import AppKit - -final class BarWindow: NSPanel { - init(contentRect: NSRect) { - super.init( - contentRect: contentRect, - styleMask: [.nonactivatingPanel, .borderless], - backing: .buffered, - defer: false - ) - - animationBehavior = .none - backgroundColor = .clear - becomesKeyOnlyIfNeeded = true - collectionBehavior = [ - .canJoinAllSpaces, - .fullScreenAuxiliary, - .fullScreenNone, - .stationary, - ] - hasShadow = false - hidesOnDeactivate = false - isFloatingPanel = true - isMovable = false - isOpaque = false - isReleasedWhenClosed = false - level = .floating - } - - override var canBecomeMain: Bool { false } - override var canBecomeKey: Bool { true } -} |
