]> git.r.bdr.sh - rbdr/captura/blobdiff - Captura/Presentation/Windows/RecordingWindow.swift
Allow URL configuration
[rbdr/captura] / Captura / Presentation / Windows / RecordingWindow.swift
index b9f212c63633a0b64fe6752ce2d3c5a6b9dfac4c..3395c549c65ba6a7734772354de906da45442f1e 100644 (file)
@@ -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