mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-12-02 03:08:22 +00:00
fix cursor up newline issues
This commit is contained in:
1 parent
4b0fe879cb
commit
84a3ee209a
1 file changed
+1
-1
@@ -583,7 +583,7 @@ var kDelegateRespondsTo_textShouldBeginEditing
|
||||
[_layoutManager _validateLayoutAndGlyphs];
|
||||
[self sizeToFit];
|
||||
[self scrollRangeToVisible:_selectionRange];
|
||||
_stickyXLocation = _caret._rect.origin.x;
|
||||
_stickyXLocation = MAX(0, _caret._rect.origin.x - 1);
|
||||
}
|
||||
|
||||
#pragma mark -
|
||||
|
||||
Reference in new issue
Block a user