KeyHandler // Fix malfunctioned CapsLock-ASCII uppercase letters.
This commit is contained in:
parent
bd30564bdb
commit
cd379b82b0
|
@ -71,7 +71,9 @@ extension KeyHandler {
|
||||||
stateCallback(IMEState.ofEmpty())
|
stateCallback(IMEState.ofEmpty())
|
||||||
|
|
||||||
// 字母鍵摁 Shift 的話,無須額外處理,因為直接就會敲出大寫字母。
|
// 字母鍵摁 Shift 的話,無須額外處理,因為直接就會敲出大寫字母。
|
||||||
if input.isUpperCaseASCIILetterKey {
|
if (input.isUpperCaseASCIILetterKey && input.isASCIIModeInput)
|
||||||
|
|| (input.isCapsLockOn && input.isShiftHold)
|
||||||
|
{
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue