From 0cd3521d277cd44fe34292a069cb28f2db2d65cb Mon Sep 17 00:00:00 2001 From: Sam Reid Date: Fri, 26 Aug 2022 15:12:48 -0600 Subject: [PATCH] Instrument displayedSimNameProperty, see https://github.com/phetsims/joist/issues/844 --- js/Sim.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/js/Sim.ts b/js/Sim.ts index 2d0fb448..016a8192 100644 --- a/js/Sim.ts +++ b/js/Sim.ts @@ -70,6 +70,7 @@ import Combination from '../../dot/js/Combination.js'; import Permutation from '../../dot/js/Permutation.js'; import ArrayIO from '../../tandem/js/types/ArrayIO.js'; import TProperty from '../../axon/js/TProperty.js'; +import StringIO from '../../tandem/js/types/StringIO.js'; // constants const PROGRESS_BAR_WIDTH = 273; @@ -570,6 +571,9 @@ export default class Sim extends PhetioObject { else { return simName; } + }, { + tandem: Tandem.GENERAL_MODEL.createTandem( 'displayedSimNameProperty' ), + phetioValueType: StringIO } ); // Local variable is settable...