Skip to content

Commit

Permalink
Animation uses Emitter instead of string and defaults to automatic, see
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Oct 28, 2018
1 parent 3ed5c45 commit a294a7f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion js/common/view/DoubleNumberLineAccordionBox.js
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,6 @@ define( function( require ) {
markerEditorAnimation && markerEditorAnimation.stop();

markerEditorAnimation = new Animation( {
stepper: 'timer', // animation is controlled by the global phet-core timer
duration: 0.002 * Math.abs( destinationX - markerEditorNode.x ), // 2ms per 1 unit of distance
easing: Easing.QUADRATIC_IN_OUT,
object: markerEditorNode,
Expand Down

0 comments on commit a294a7f

Please sign in to comment.