Skip to content

Commit

Permalink
use phetioVisiblePropertyInstrumented: false, phetsims/number-compare#17
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelzoom committed Feb 1, 2023
1 parent 1dc17c9 commit fe5cc1f
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions js/beerslaw/view/ATDetectorNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ class BodyNode extends Node {
const options = optionize<BodyNodeOptions, BodyNodeSelfOptions, NodeOptions>()( {

// NodeOptions
visiblePropertyOptions: { phetioReadOnly: true }
phetioVisiblePropertyInstrumented: false
}, providedOptions );

super( options );
Expand Down Expand Up @@ -127,7 +127,7 @@ class BodyNode extends Node {
const radioButtonGroup = new AquaRadioButtonGroup( detector.modeProperty, radioButtonItems, {
radioButtonOptions: {
radius: BLLConstants.RADIO_BUTTON_RADIUS,
visiblePropertyOptions: { phetioReadOnly: true }
phetioVisiblePropertyInstrumented: false
},
orientation: 'vertical',
align: 'left',
Expand Down Expand Up @@ -237,7 +237,7 @@ class ATProbeNode extends ProbeNode {
lightAngle: 1.25 * Math.PI,
color: PROBE_COLOR,
phetioInputEnabledPropertyInstrumented: true,
visiblePropertyOptions: { phetioReadOnly: true }
phetioVisiblePropertyInstrumented: false
}, providedOptions );

super( options );
Expand Down
2 changes: 1 addition & 1 deletion js/beerslaw/view/WavelengthPanel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ export default class WavelengthPanel extends Panel {
const radioButtonGroup = new AquaRadioButtonGroup( light.modeProperty, radioButtonItems, {
radioButtonOptions: {
radius: BLLConstants.RADIO_BUTTON_RADIUS,
visiblePropertyOptions: { phetioReadOnly: true }
phetioVisiblePropertyInstrumented: false
},
orientation: 'horizontal',
spacing: 15,
Expand Down
4 changes: 2 additions & 2 deletions js/concentration/view/ConcentrationMeterNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ class BodyNode extends Node {
const options: NodeOptions = {
cursor: 'pointer',
tandem: tandem,
visiblePropertyOptions: { phetioReadOnly: true }
phetioVisiblePropertyInstrumented: false
};

super( options );
Expand Down Expand Up @@ -272,7 +272,7 @@ class ConcentrationProbeNode extends ProbeNode {
// phet-io
tandem: tandem,
phetioInputEnabledPropertyInstrumented: true,
visiblePropertyOptions: { phetioReadOnly: true }
phetioVisiblePropertyInstrumented: false
};

super( options );
Expand Down
2 changes: 1 addition & 1 deletion js/concentration/view/SoluteFormRadioButtonGroup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export default class SoluteFormRadioButtonGroup extends AquaRadioButtonGroup<Sol
spacing: 60,
radioButtonOptions: {
radius: BLLConstants.RADIO_BUTTON_RADIUS,
visiblePropertyOptions: { phetioReadOnly: true }
phetioVisiblePropertyInstrumented: false
},
touchAreaXDilation: 8,
touchAreaYDilation: 3,
Expand Down

1 comment on commit fe5cc1f

@pixelzoom
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.