Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Fix laptop force touch
- Loading branch information
Showing
with
1 addition
and
1 deletion.
-
+1
−1
framer/GestureInputRecognizer.coffee
|
@@ -307,7 +307,7 @@ class exports.GestureInputRecognizer |
|
|
@session.lastEvent = event |
|
|
|
|
|
_getEventPoint: (event) -> |
|
|
return @_getTouchPoint(event, 0) if event.touches.length |
|
|
return @_getTouchPoint(event, 0) if event.touches?.length |
|
|
return {x:event.pageX ,y:event.pageY} |
|
|
|
|
|
_getGestureEvent: (event) -> |
|
|
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.