mouse down fix

This commit is contained in:
daboe01 committed 2015-06-08 20:30:24 +02:00
1 parent 702b973c87
commit 9722cf718c
1 file changed
+2
+2
View File
@@ -735,6 +735,8 @@ var kDelegateRespondsTo_textShouldBeginEditing
- (void)mouseDown:(CPEvent)event
{
[_CPNativeInputManager cancelCurrentInputSessionIfNeeded];
var fraction = [],
point = [self convertPoint:[event locationInWindow] fromView:nil],
granularities = [-1, CPSelectByCharacter, CPSelectByWord, CPSelectByParagraph];