Skip to content

Commit

Permalink
Use PlusMinusZoomButtonGroup, see phetsims/circuit-construction-kit-c…
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Dec 14, 2020
1 parent 8ccdd09 commit 290f64b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/common/view/population/PopulationGraphNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import Bounds2 from '../../../../../dot/js/Bounds2.js';
import Vector2 from '../../../../../dot/js/Vector2.js';
import merge from '../../../../../phet-core/js/merge.js';
import ZoomButtonGroup from '../../../../../scenery-phet/js/ZoomButtonGroup.js';
import PlusMinusZoomButtonGroup from '../../../../../scenery-phet/js/PlusMinusZoomButtonGroup.js';
import Node from '../../../../../scenery/js/nodes/Node.js';
import Rectangle from '../../../../../scenery/js/nodes/Rectangle.js';
import Text from '../../../../../scenery/js/nodes/Text.js';
Expand Down Expand Up @@ -74,7 +74,7 @@ class PopulationGraphNode extends Node {
} );

// Population (y-axis) zoom buttons
const yZoomButtonGroup = new ZoomButtonGroup( populationModel.yZoomLevelProperty, {
const yZoomButtonGroup = new PlusMinusZoomButtonGroup( populationModel.yZoomLevelProperty, {
orientation: 'vertical',
touchAreaXDilation: 7,
touchAreaYDilation: 4,
Expand Down

0 comments on commit 290f64b

Please sign in to comment.