selection fix

This commit is contained in:
daboe01 committed 2016-06-18 11:47:47 +02:00
1 parent 56928b6ca0
commit 77c5000f16
1 file changed
+1 -2
+1 -2
View File
@@ -949,8 +949,7 @@ var kDelegateRespondsTo_textShouldBeginEditing
if (index === CPNotFound)
index = _scrollingDownward ? CPMaxRange(oldRange) : oldRange.location;
if (fraction[0] > 0.5)
else if (fraction[0] > 0.5)
index++;
if (index > oldRange.location)