ctlIME // +shouldAlwaysUseShiftKeyAccommodation.
This commit is contained in:
parent
0dc199ce68
commit
cfa772bd6e
|
@ -202,7 +202,9 @@ class ctlInputMethod: IMKInputController {
|
||||||
_ = sender // 防止格式整理工具毀掉與此對應的參數。
|
_ = sender // 防止格式整理工具毀掉與此對應的參數。
|
||||||
|
|
||||||
// 用 Shift 開關半形英數模式,僅對 macOS 10.15 及之後的 macOS 有效。
|
// 用 Shift 開關半形英數模式,僅對 macOS 10.15 及之後的 macOS 有效。
|
||||||
let shouldUseHandle = IME.arrClientShiftHandlingExceptionList.contains(clientBundleIdentifier)
|
let shouldUseHandle =
|
||||||
|
IME.arrClientShiftHandlingExceptionList.contains(clientBundleIdentifier)
|
||||||
|
|| mgrPrefs.shouldAlwaysUseShiftKeyAccommodation
|
||||||
if #available(macOS 10.15, *) {
|
if #available(macOS 10.15, *) {
|
||||||
if ShiftKeyUpChecker.check(event) {
|
if ShiftKeyUpChecker.check(event) {
|
||||||
if !shouldUseHandle || (!rencentKeyHandledByKeyHandler && shouldUseHandle) {
|
if !shouldUseHandle || (!rencentKeyHandledByKeyHandler && shouldUseHandle) {
|
||||||
|
|
Loading…
Reference in New Issue