Merge pull request #3202 from daboe01/textview-caret-blinking-fix

fixed: caret is invisible at the end of the line
This commit is contained in:
daboe01 authored and GitHub committed 2026-03-14 13:02:28 +01:00
commit 6563e730a0
1 file changed
+3
+3
View File
@@ -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