Skip to content
Browse files

Fixed simulation bug for real now

  • Loading branch information...
koenbok committed Apr 7, 2015
1 parent 2dd9a9c commit 16520a391adb997ec1c6480c1d214fabc75670aa
Showing with 2 additions and 2 deletions.
  1. +2 −2 framer/
@@ -511,8 +511,8 @@ class exports.LayerDraggable extends BaseClass
_stopSimulation: =>
@_isAnimating = false
return unless @_simulation
@_simulation?.x?.stop() if @_simulation.x
@_simulation?.y?.stop() if @_simulation.y
@_simulation.x.stop?() if @_simulation.x
@_simulation.y.stop?() if @_simulation.y
@emit(Events.Move, @layer.point)
@_simulation = null

0 comments on commit 16520a3

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