revert: move drag indicator uncoditionally to the right side

This commit is contained in:
daboe01 committed 2016-10-01 20:21:52 +02:00
1 parent a31912f710
commit 5f8d8988e3
1 file changed
-1
-1
View File
@@ -2326,7 +2326,6 @@ var CPTextViewAllowsUndoKey = @"CPTextViewAllowsUndoKey",
- (void)_drawCaretAtLocation:(int)aLoc
{
var rect = [_textView._layoutManager boundingRectForGlyphRange:CPMakeRange(aLoc, 1) inTextContainer:_textView._textContainer];
rect.origin.x = CGRectGetMaxX(rect);
[self setRect:rect];
}