prevent blinking during cursor navigation more robustly

This commit is contained in:
daboe01 committed 2016-06-22 22:04:10 +02:00
1 parent e438e6aedb
commit 45c7a110b6
1 file changed
+4 -1
+4 -1
View File
@@ -890,7 +890,10 @@ var kDelegateRespondsTo_textShouldBeginEditing
- (void)keyUp:(CPEvent)event
{
[super keyUp:event];
[_caret setPermanentlyVisible:NO];
setTimeout(function() {
[_caret setPermanentlyVisible:NO];
}, 500);
}