mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-22 00:05:01 +00:00
selection fix
This commit is contained in:
1 parent
56928b6ca0
commit
77c5000f16
1 file changed
+1
-2
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user