Skip to content

Commit

Permalink
Hopeful workaround for #81
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanolson committed Jan 25, 2019
1 parent 4280303 commit 6783c3b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions js/intro/view/RoundNumberSpinner.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@ define( require => {
arrowRotation: options.rotation,
enabledProperty: increaseEnabledProperty,
listener: () => {
numberProperty.value++;
if ( increaseEnabledProperty.value ) {
numberProperty.value++;
}
}
} );

Expand All @@ -59,7 +61,9 @@ define( require => {
arrowRotation: Math.PI + options.rotation,
enabledProperty: decreaseEnabledProperty,
listener: () => {
numberProperty.value--;
if ( decreaseEnabledProperty.value ) {
numberProperty.value--;
}
}
} );

Expand Down

0 comments on commit 6783c3b

Please sign in to comment.