Skip to content

Commit

Permalink
Instrument displayedSimNameProperty, see #844
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Aug 26, 2022
1 parent b38618b commit 0cd3521
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions js/Sim.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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...
Expand Down

0 comments on commit 0cd3521

Please sign in to comment.