Permalink
Browse files

Cleanup

  • Loading branch information...
Koen Bok
Koen Bok committed Jan 27, 2016
1 parent 15cffc4 commit 475604f1d26cad3686773607f91506b710bb9c03
Showing with 2 additions and 1 deletion.
  1. +2 −1 framer/GestureInputRecognizer.coffee
@@ -337,7 +337,8 @@ class exports.GestureInputRecognizer
event.deltaTime = event.time - @session.lastEvent.time
if @session?.events
events = _.filter @session.events, (e) -> e.time > (event.time - (GestureInputVelocityTime * 1000))
events = _.filter @session.events, (e) ->
return e.time > (event.time - (GestureInputVelocityTime * 1000))
event.velocity = @_getVelocity(events)
if event.fingers > 0

0 comments on commit 475604f

Please sign in to comment.