InputSignal // Revamp isUpperCaseASCIILetterKey().

This commit is contained in:
ShikiSuen 2022-07-24 23:00:17 +08:00
parent ff015d80d3
commit f340a6f732
1 changed files with 1 additions and 1 deletions

View File

@ -339,7 +339,7 @@ struct InputSignal: CustomStringConvertible {
var isUpperCaseASCIILetterKey: Bool {
// flags == .shift Shift
charCode >= 65 && charCode <= 90 && flags == .shift
(65...90).contains(charCode) && flags == .shift
}
var isSymbolMenuPhysicalKey: Bool {