From 4a476e0a50b8767ac947816747049a5bc344bae4 Mon Sep 17 00:00:00 2001 From: ShikiSuen Date: Fri, 11 Aug 2023 15:50:17 +0800 Subject: [PATCH] InputHandler // Fix isConsideredEmptyForNow(). --- Source/Modules/InputHandler_Core.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Modules/InputHandler_Core.swift b/Source/Modules/InputHandler_Core.swift index 9fdf7864..13f9edf0 100644 --- a/Source/Modules/InputHandler_Core.swift +++ b/Source/Modules/InputHandler_Core.swift @@ -119,7 +119,7 @@ public class InputHandler: InputHandlerProtocol { /// 警告:該參數僅代指組音區/組筆區域與組字區在目前狀態下被視為「空」。 var isConsideredEmptyForNow: Bool { - compositor.isEmpty && isComposerOrCalligrapherEmpty && strCodePointBuffer.isEmpty + compositor.isEmpty && isComposerOrCalligrapherEmpty && !isCodePointInputMode && !isHaninKeyboardSymbolMode } // MARK: - Hanin Keyboard Symbol Mode.