From 533cd932281300fb444c07e80f81fc683a410b60 Mon Sep 17 00:00:00 2001 From: Ruben Beltran del Rio Date: Mon, 31 Jul 2023 10:52:11 +0200 Subject: Complete initial release --- Captura/Presentation/Windows/RecordingWindow.swift | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Captura/Presentation/Windows/RecordingWindow.swift') 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 -- cgit