SessionCtl // Do something with non-JIS keyboard on activation.
This commit is contained in:
parent
153572b826
commit
27ccac62d2
|
@ -322,6 +322,16 @@ public extension SessionCtl {
|
|||
Self.theShiftKeyDetector.toggleWithLShift = PrefMgr.shared.togglingAlphanumericalModeWithLShift
|
||||
Self.theShiftKeyDetector.toggleWithRShift = PrefMgr.shared.togglingAlphanumericalModeWithRShift
|
||||
|
||||
if isASCIIMode, !IMEApp.isKeyboardJIS {
|
||||
if #available(macOS 10.15, *) {
|
||||
if !Self.theShiftKeyDetector.enabled {
|
||||
isASCIIMode = false
|
||||
}
|
||||
} else {
|
||||
isASCIIMode = false
|
||||
}
|
||||
}
|
||||
|
||||
DispatchQueue.main.async {
|
||||
AppDelegate.shared.checkUpdate(forced: false)
|
||||
AppDelegate.shared.checkMemoryUsage()
|
||||
|
|
Loading…
Reference in New Issue