mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-09 18:30:59 +00:00
Merge pull request #2557 from daboe01/placeholderselectablefix
fixed: cursor blinks for placeholder
This commit is contained in:
commit
cd223be88a
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user