Skip to content

Commit

Permalink
fixed an issue with the recently committed TWEEN optimization, see #117
Browse files Browse the repository at this point in the history
  • Loading branch information
jbphet committed Nov 4, 2015
1 parent af2f79a commit d2c55c8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions js/common/view/ArithmeticView.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ define( function( require ) {

// variables for tracking the problem being worked on by the user.
// TODO: Remove this directive once prototype below is complete
// TODO: Remove this directive once prototype below is complete
var previousLeftMultiplier; //eslint-disable-line no-unused-vars
var previousRightMultiplier; //eslint-disable-line no-unused-vars
var currentLeftMultiplier;
Expand Down Expand Up @@ -114,7 +113,7 @@ define( function( require ) {

// Slide out the level selection screen
levelSelectionNode.pickable = false;
levelSelectionScreenAnimator.stop().to( { right: self.layoutBounds.minX }, ANIMATION_TIME ).start();
levelSelectionScreenAnimator.stop().to( { x: self.layoutBounds.minX - levelSelectionNode.width }, ANIMATION_TIME ).start();
}

if ( newState === GameState.AWAITING_USER_INPUT ) {
Expand Down

0 comments on commit d2c55c8

Please sign in to comment.