This commit is contained in:
parent
e963286527
commit
872b4ffc5d
|
@ -498,7 +498,9 @@ public:
|
|||
bool composeReading = false;
|
||||
|
||||
// caps lock processing : if caps locked, temporarily disabled bopomofo.
|
||||
if ([NSEvent modifierFlags] & NSAlphaShiftKeyMask){
|
||||
if (charCode == 8) {
|
||||
// Do nothing if backspace is pressed
|
||||
} else if ([NSEvent modifierFlags] & NSAlphaShiftKeyMask){
|
||||
if ([_composingBuffer length]) [self commitComposition:client];
|
||||
if ([NSEvent modifierFlags] & NSShiftKeyMask) return NO;
|
||||
NSString *popedText = [inputText lowercaseString];
|
||||
|
|
Loading…
Reference in New Issue