Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 65abdd6244 |
@@ -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 {
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user