Skip to content
Permalink
Browse files

Don't cancel original events in touch emulator

  • Loading branch information...
koenbok committed Feb 8, 2016
1 parent 3648250 commit 780e9b3a707f8f2caf38aa2acfc09a118524bc1e
Showing with 3 additions and 3 deletions.
  1. +3 −3 framer/Extras/TouchEmulator.coffee
@@ -106,7 +106,7 @@ class TouchEmulator extends BaseClass

mousedown: (event) =>

cancelEvent(event)
# cancelEvent(event)

@isMouseDown = true
@target = event.target
@@ -124,7 +124,7 @@ class TouchEmulator extends BaseClass
x: event.pageX
y: event.pageY

cancelEvent(event)
# cancelEvent(event)

@startPoint ?= @point
@centerPoint ?= @point
@@ -152,7 +152,7 @@ class TouchEmulator extends BaseClass

mouseup: (event) =>

cancelEvent(event)
# cancelEvent(event)

if @isPinchKeyDown or @isPanKeyDown
dispatchTouchEvent("touchend", @target, event, @touchPointDelta)

0 comments on commit 780e9b3

Please sign in to comment.
You can’t perform that action at this time.