From 0ce8b8eefb910d8f46a75bc58d131408b0be2efc Mon Sep 17 00:00:00 2001 From: Michael Kauzmann Date: Wed, 31 May 2023 16:49:02 -0600 Subject: [PATCH] move isSettingPhetioStateProperty to tandem/, https://github.com/phetsims/tandem/issues/294 Signed-off-by: Michael Kauzmann --- js/number-play-main.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/number-play-main.ts b/js/number-play-main.ts index 4159ad4..b6f8ba5 100644 --- a/js/number-play-main.ts +++ b/js/number-play-main.ts @@ -29,6 +29,7 @@ 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'; +import isSettingPhetioStateProperty from '../../tandem/js/isSettingPhetioStateProperty.js'; const numberPlayTitleStringProperty = NumberPlayStrings[ 'number-play' ].titleStringProperty; const LAB_SCREEN_SYMBOLS = [ MathSymbols.EQUAL_TO, MathSymbols.PLUS, MathSymbols.MINUS ]; @@ -94,7 +95,7 @@ simLauncher.launch( () => { sim.isConstructionCompleteProperty, sim.browserTabVisibleProperty, sim.activeProperty, - sim.isSettingPhetioStateProperty, + isSettingPhetioStateProperty, audioManager.audioEnabledProperty ], ( simConstructionComplete, simVisible, simActive, simSettingPhetioState, audioEnabled ) => { return simConstructionComplete && simVisible && simActive && !simSettingPhetioState && audioEnabled;