mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-10 10:42:19 +00:00
fixed: caret is invisible at the end of the line
This commit is contained in:
1 parent
9f092a3c2e
commit
b39c3e8d4b
1 file changed
+3
@@ -2298,6 +2298,9 @@ Sets the selection to a range of characters in response to user action.
|
||||
caretRect.origin.x += _textContainerOrigin.x;
|
||||
caretRect.origin.y += _textContainerOrigin.y;
|
||||
|
||||
caretRect.size.width = MAX(1.0, caretRect.size.width);
|
||||
caretRect.size.height = MAX(1.0, caretRect.size.height);
|
||||
|
||||
return caretRect;
|
||||
}
|
||||
- (void)updateInsertionPointStateAndRestartTimer:(BOOL)flag
|
||||
|
||||
Reference in new issue
Block a user