Skip to content

Commit

Permalink
Move colorProfile.profileNameProperty to colorProfileProperty, see #1251
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Jul 28, 2021
1 parent 5caade9 commit 8db1cdf
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions js/util/colorProfileProperty.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,7 @@ const colorProfiles = _.hasIn( window, 'phet.chipper.colorProfiles' ) ? phet.chi
// @public {Property.<string>}
// 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
} );

Expand Down

0 comments on commit 8db1cdf

Please sign in to comment.