Skip to content

Commit

Permalink
adjusting default options in ZoomButtonGroup hierarchy, phetsims/scen…
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelzoom committed Dec 17, 2020
1 parent fe17aa9 commit ba926e0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions js/view/CCKCChartNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ import DragListener from '../../../scenery/js/listeners/DragListener.js';
import Node from '../../../scenery/js/nodes/Node.js';
import Text from '../../../scenery/js/nodes/Text.js';
import NodeProperty from '../../../scenery/js/util/NodeProperty.js';
import ButtonNode from '../../../sun/js/buttons/ButtonNode.js';
import Tandem from '../../../tandem/js/Tandem.js';
import CCKCConstants from '../CCKCConstants.js';
import circuitConstructionKitCommonStrings from '../circuitConstructionKitCommonStrings.js';
Expand Down Expand Up @@ -178,9 +179,13 @@ class CCKCChartNode extends Node {
left: chartBackground.right + 2,
top: chartBackground.top,
magnifyingGlassNodeOptions: {
glassRadius: 10,
maxWidth: 15
},
buttonOptions: {
baseColor: 'white',
buttonAppearanceStrategy: ButtonNode.FlatAppearanceStrategy,
cornerRadius: 0,
xMargin: 3,
yMargin: 3
}
Expand Down

0 comments on commit ba926e0

Please sign in to comment.