1 Commits

Author SHA1 Message Date
Ivan Sapozhnik 65abdd6244 Changing from Panel to Window 2020-04-15 01:27:08 +02:00
2 changed files with 1 additions and 2 deletions
-1
View File
@@ -47,7 +47,6 @@ public final class Menu {
let actualDismiss: (NSWindow) -> Void = { [weak self] menuWindow in
self?.window?.parent?.removeChildWindow(menuWindow)
self?.window?.orderOut(self)
self?.window?.close()
self?.window = nil
}
if let menuWindow = window {
+1 -1
View File
@@ -7,7 +7,7 @@
import Cocoa
final class Window: NSPanel {
final class Window: NSWindow {
private var childContentView: NSView?
private var backgroundView: RoundedRectangleView?
private let configuration: Configuration