Skip to content

Commit

Permalink
Use MathSymbols instead of characters, use SymbolType file instead of…
Browse files Browse the repository at this point in the history
… inline export, see #225
  • Loading branch information
chrisklus committed Apr 12, 2023
1 parent 8c9af23 commit 990ec8a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion js/number-play-main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,10 @@ import NumberSuiteCommonPreferencesNode from '../../number-suite-common/js/commo
import numberPlayUtteranceQueue from './common/view/numberPlayUtteranceQueue.js';
import LanguageAndVoiceControl from '../../number-suite-common/js/common/view/LanguageAndVoiceControl.js';
import localeProperty from '../../joist/js/i18n/localeProperty.js';
import MathSymbols from '../../scenery-phet/js/MathSymbols.js';

const numberPlayTitleStringProperty = NumberPlayStrings[ 'number-play' ].titleStringProperty;
const LAB_SCREEN_SYMBOLS = [ MathSymbols.EQUAL_TO, MathSymbols.PLUS, MathSymbols.MINUS ];

const simOptions: SimOptions = {
credits: {
Expand Down Expand Up @@ -77,7 +79,7 @@ simLauncher.launch( () => {
new TenScreen( Tandem.ROOT.createTandem( 'tenScreen' ) ),
new TwentyScreen( Tandem.ROOT.createTandem( 'twentyScreen' ) ),
new NumberPlayGameScreen( Tandem.ROOT.createTandem( 'numberPlayGameScreen' ) ),
new LabScreen( [ '=', '+', '-' ], numberPlayPreferences, Tandem.ROOT.createTandem( 'numberPlayLabScreen' ) )
new LabScreen( LAB_SCREEN_SYMBOLS, numberPlayPreferences, Tandem.ROOT.createTandem( 'numberPlayLabScreen' ) )
], simOptions );
sim.start();

Expand Down

0 comments on commit 990ec8a

Please sign in to comment.