UPE // Forcing AboutWindow to top.
This commit is contained in:
parent
62382cf5cf
commit
46f86e9d5b
|
@ -41,6 +41,7 @@ class AppDelegate: NSObject, NSApplicationDelegate {
|
||||||
}
|
}
|
||||||
ctlAboutWindowInstance?.window?.center()
|
ctlAboutWindowInstance?.window?.center()
|
||||||
ctlAboutWindowInstance?.window?.orderFrontRegardless() // 逼著關於視窗往最前方顯示
|
ctlAboutWindowInstance?.window?.orderFrontRegardless() // 逼著關於視窗往最前方顯示
|
||||||
|
ctlAboutWindowInstance?.window?.level = .statusBar
|
||||||
}
|
}
|
||||||
// Call the New About Window
|
// Call the New About Window
|
||||||
@IBAction func about(_ sender: Any) {
|
@IBAction func about(_ sender: Any) {
|
||||||
|
|
Loading…
Reference in New Issue