From e38eafd04c1d84831982a8e76f75141589391af1 Mon Sep 17 00:00:00 2001 From: ShikiSuen Date: Thu, 11 Aug 2022 12:56:51 +0800 Subject: [PATCH] ctlIME // Enable PrefUI on macOS 10.15 Catalina. --- Source/Modules/ControllerModules/ctlInputMethod_Menu.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Modules/ControllerModules/ctlInputMethod_Menu.swift b/Source/Modules/ControllerModules/ctlInputMethod_Menu.swift index 03971b48..66ba5629 100644 --- a/Source/Modules/ControllerModules/ctlInputMethod_Menu.swift +++ b/Source/Modules/ControllerModules/ctlInputMethod_Menu.swift @@ -185,7 +185,7 @@ extension ctlInputMethod { // MARK: - IME Menu Items @objc override func showPreferences(_: Any?) { - if #available(macOS 11.0, *) { + if #available(macOS 10.15, *) { NSApp.setActivationPolicy(.accessory) ctlPrefUI.shared.controller.show(preferencePane: Preferences.PaneIdentifier(rawValue: "General")) ctlPrefUI.shared.controller.window?.level = .floating