diff options
| author | Ruben Beltran del Rio <ruben@unlimited.pizza> | 2023-07-31 10:52:11 +0200 |
|---|---|---|
| committer | Ruben Beltran del Rio <ruben@unlimited.pizza> | 2023-07-31 10:52:11 +0200 |
| commit | 533cd932281300fb444c07e80f81fc683a410b60 (patch) | |
| tree | 483abbcd7461e155578b858dac4eb0145c13ce3e /Captura/Presentation/Windows/RecordingWindow.swift | |
| parent | c9b9e1d654ea697afad9f6427d94623bfdf55cce (diff) | |
Complete initial release
Diffstat (limited to 'Captura/Presentation/Windows/RecordingWindow.swift')
| -rw-r--r-- | Captura/Presentation/Windows/RecordingWindow.swift | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Captura/Presentation/Windows/RecordingWindow.swift b/Captura/Presentation/Windows/RecordingWindow.swift index b9f212c..3395c54 100644 --- a/Captura/Presentation/Windows/RecordingWindow.swift +++ b/Captura/Presentation/Windows/RecordingWindow.swift @@ -27,9 +27,9 @@ class RecordingWindow: NSWindow { self.isReleasedWhenClosed = false self.collectionBehavior = [.canJoinAllSpaces] - self.center() self.isMovableByWindowBackground = false self.isMovable = false + self.canHide = false self.titlebarAppearsTransparent = true self.setFrame(boundingBox, display: true) self.titleVisibility = .hidden @@ -41,7 +41,6 @@ class RecordingWindow: NSWindow { self.level = .screenSaver self.isOpaque = false self.hasShadow = false - self.makeKeyAndOrderFront(nil) } // MARK: - Window Behavior Overrides |