fixed: unable to typing non-ascii characters by default iOS soft keyboards
This commit is contained in:
@@ -1213,6 +1213,9 @@ static const double X1_MOUSE_SPEED_DIVISOR = 2.5;
|
||||
}
|
||||
|
||||
- (void)onKeyboardPressed:(UITextField *)textField {
|
||||
|
||||
if (textField.markedTextRange) return;
|
||||
|
||||
NSString* inputText = textField.text;
|
||||
dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_HIGH, 0), ^{
|
||||
// If the text became empty, we know the user pressed the backspace key.
|
||||
|
||||
Reference in New Issue
Block a user