From 8db1cdf9237710cd1eee649f98b7a38cbce898c3 Mon Sep 17 00:00:00 2001 From: samreid Date: Tue, 27 Jul 2021 22:46:16 -0600 Subject: [PATCH] Move colorProfile.profileNameProperty to colorProfileProperty, see https://github.com/phetsims/scenery/issues/1251 --- js/util/colorProfileProperty.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/js/util/colorProfileProperty.js b/js/util/colorProfileProperty.js index 345f9d59c..f1d53d58c 100644 --- a/js/util/colorProfileProperty.js +++ b/js/util/colorProfileProperty.js @@ -26,9 +26,7 @@ const colorProfiles = _.hasIn( window, 'phet.chipper.colorProfiles' ) ? phet.chi // @public {Property.} // The current profile name. Change this Property's value to change which profile is currently active. const colorProfileProperty = new StringProperty( initialProfileName, { - - // TODO: Should we move global.view.colorProfile.profileNameProperty to global.view.colorProfileProperty ? https://github.com/phetsims/scenery-phet/issues/515 - tandem: Tandem.GLOBAL_VIEW.createTandem( 'colorProfile' ).createTandem( 'profileNameProperty' ), + tandem: Tandem.GLOBAL_VIEW.createTandem( 'colorProfileProperty' ), validValues: colorProfiles } );