Skip to content
Browse files

Likely fix for simulation null error

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

0 comments on commit 1b293bf

Please sign in to comment.