SessionCtl // Switch to .ofEmpty() state on toggling CapsLock.
This commit is contained in:
parent
2d23deb83a
commit
e8961ff33f
|
@ -84,6 +84,7 @@ public extension SessionCtl {
|
||||||
if PrefMgr.shared.shiftEisuToggleOffTogetherWithCapsLock, !isCapsLockTurnedOn, self?.isASCIIMode ?? false {
|
if PrefMgr.shared.shiftEisuToggleOffTogetherWithCapsLock, !isCapsLockTurnedOn, self?.isASCIIMode ?? false {
|
||||||
self?.isASCIIMode.toggle()
|
self?.isASCIIMode.toggle()
|
||||||
}
|
}
|
||||||
|
self?.resetInputHandler()
|
||||||
guard PrefMgr.shared.showNotificationsWhenTogglingCapsLock else { return }
|
guard PrefMgr.shared.showNotificationsWhenTogglingCapsLock else { return }
|
||||||
guard !PrefMgr.shared.bypassNonAppleCapsLockHandling else { return }
|
guard !PrefMgr.shared.bypassNonAppleCapsLockHandling else { return }
|
||||||
let status = NSLocalizedString("NotificationSwitchRevolver", comment: "")
|
let status = NSLocalizedString("NotificationSwitchRevolver", comment: "")
|
||||||
|
|
Loading…
Reference in New Issue