mirror of
https://github.com/morgan9e/macos-stats
synced 2026-04-14 00:04:15 +09:00
feat: added a title to the popup view to allow control of it via 3d party apps (#2295)
This commit is contained in:
@@ -52,6 +52,8 @@ public class PopupWindow: NSWindow, NSWindowDelegate {
|
||||
visibilityCallback(state)
|
||||
}
|
||||
|
||||
self.title = title
|
||||
self.titleVisibility = .hidden
|
||||
self.contentViewController = self.viewController
|
||||
self.titlebarAppearsTransparent = true
|
||||
self.animationBehavior = .default
|
||||
|
||||
Reference in New Issue
Block a user