From 49f9a3c995a6efb3e91b973dbf2891130390c94a Mon Sep 17 00:00:00 2001 From: ShikiSuen Date: Mon, 17 Oct 2022 01:38:48 +0800 Subject: [PATCH] SessionCtl // Force ABC layout if needed when Cassette mode is ON. --- Source/Modules/SessionCtl_HandleEvent.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Modules/SessionCtl_HandleEvent.swift b/Source/Modules/SessionCtl_HandleEvent.swift index 74c82630..f1304f5c 100644 --- a/Source/Modules/SessionCtl_HandleEvent.swift +++ b/Source/Modules/SessionCtl_HandleEvent.swift @@ -117,7 +117,7 @@ extension SessionCtl { } // 在啟用注音排列而非拼音輸入的情況下,強制將當前鍵盤佈局翻譯為美規鍵盤。 - if inputHandler.composer.parser.rawValue < 100 { + if inputHandler.composer.parser.rawValue < 100 || IMKHelper.isDynamicBasicKeyboardLayoutEnabled { eventToDeal = eventToDeal.inAppleABCStaticForm }