From 419fd961e80100b88d1f8619db12b7f6a02f7150 Mon Sep 17 00:00:00 2001 From: AgustinVallejo Date: Thu, 16 Jan 2025 16:01:20 -0500 Subject: [PATCH] Required tandem --- js/bloch-sphere/view/BlochSphereMeasurementArea.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/js/bloch-sphere/view/BlochSphereMeasurementArea.ts b/js/bloch-sphere/view/BlochSphereMeasurementArea.ts index 988ec3d..896db15 100644 --- a/js/bloch-sphere/view/BlochSphereMeasurementArea.ts +++ b/js/bloch-sphere/view/BlochSphereMeasurementArea.ts @@ -50,11 +50,15 @@ export default class BlochSphereMeasurementArea extends Node { }; } ); + const equationPanelTandem = providedOptions.tandem.createTandem( 'equationPanel' ); + const equationBasisBox = new HBox( { spacing: 5, children: [ new Text( 'Basis: ', { font: new PhetFont( 16 ) } ), - new AquaRadioButtonGroup( model.equationBasisProperty, aquaRadioButtonGroupItems, { orientation: 'horizontal', margin: 5 } ) + new AquaRadioButtonGroup( model.equationBasisProperty, aquaRadioButtonGroupItems, { + orientation: 'horizontal', margin: 5, tandem: equationPanelTandem.createTandem( 'equationBasisRadioButtonGroup' ) + } ) ] } ); @@ -69,6 +73,7 @@ export default class BlochSphereMeasurementArea extends Node { equationNode, equationBasisBox ], + tandem: equationPanelTandem, visibleProperty: model.isSingleMeasurementModeProperty } ), QuantumMeasurementConstants.panelOptions );