From 62382cf5cff9ca115f8f153990e717c2ac442477 Mon Sep 17 00:00:00 2001 From: ShikiSuen Date: Mon, 7 Mar 2022 20:40:25 +0800 Subject: [PATCH] AppDelegate // Forcing windows to top. --- Source/Modules/AppDelegate.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/Modules/AppDelegate.swift b/Source/Modules/AppDelegate.swift index 3c5133b1..c0e51087 100644 --- a/Source/Modules/AppDelegate.swift +++ b/Source/Modules/AppDelegate.swift @@ -198,6 +198,7 @@ class AppDelegate: NSObject, NSApplicationDelegate, ctlNonModalAlertWindowDelega } ctlPrefWindowInstance?.window?.center() ctlPrefWindowInstance?.window?.orderFrontRegardless() // 逼著屬性視窗往最前方顯示 + ctlPrefWindowInstance?.window?.level = .statusBar } // New About Window @@ -207,6 +208,7 @@ class AppDelegate: NSObject, NSApplicationDelegate, ctlNonModalAlertWindowDelega } ctlAboutWindowInstance?.window?.center() ctlAboutWindowInstance?.window?.orderFrontRegardless() // 逼著關於視窗往最前方顯示 + ctlAboutWindowInstance?.window?.level = .statusBar } @objc(checkForUpdate)