fixed: cursor blinks for placeholder

This commit is contained in:
daboe01 committed 2017-08-23 23:07:42 +02:00
1 parent 70ee391b33
commit 9faac05666
1 file changed
+1 -1
+1 -1
View File
@@ -1999,7 +1999,7 @@ var kDelegateRespondsTo_textShouldBeginEditing
- (BOOL)shouldDrawInsertionPoint
{
return (_selectionRange.length === 0 && [self _isFocused]);
return (_selectionRange.length === 0 && [self _isFocused] && !_placeholderString);
}
- (void)updateInsertionPointStateAndRestartTimer:(BOOL)flag