mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-08-25 21:17:03 +00:00
Merge pull request #2557 from daboe01/placeholderselectablefix
fixed: cursor blinks for placeholder
This commit is contained in:
@@ -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