Skip to content

Commit

Permalink
uninstrument visibleProperty and enabledProperty in ZoomButtonGroup, #…
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelzoom committed Feb 2, 2023
1 parent 2a82d9b commit daff436
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions js/ZoomButtonGroup.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright 2020-2023, University of Colorado Boulder

/**
* ZoomButtonGroup is the base class for a pair of buttons used to zoom 'in' and 'out'.
* CCKZoomButtonGroup is the base class for a pair of buttons used to zoom 'in' and 'out'.
*
* @author Chris Malley (PixelZoom, Inc.)
*/
Expand Down Expand Up @@ -45,8 +45,8 @@ export default class ZoomButtonGroup extends FlowBox {
* @param zoomOutIcon
* @param providedOptions?
*/
public constructor( zoomLevelProperty: TRangedProperty, zoomInIcon: Node, zoomOutIcon: Node,
providedOptions?: ZoomButtonGroupOptions ) {
protected constructor( zoomLevelProperty: TRangedProperty, zoomInIcon: Node, zoomOutIcon: Node,
providedOptions?: ZoomButtonGroupOptions ) {

const zoomLevelRange = zoomLevelProperty.range;

Expand All @@ -62,7 +62,9 @@ export default class ZoomButtonGroup extends FlowBox {
buttonOptions: {
fireOnHold: true,
fireOnHoldDelay: 600, // ms
fireOnHoldInterval: 250 // ms
fireOnHoldInterval: 250, // ms
phetioVisiblePropertyInstrumented: false,
phetioEnabledPropertyInstrumented: false
},

// FlowBoxOptions
Expand Down

0 comments on commit daff436

Please sign in to comment.