From 18e954f6d6e3337a67cf162f7b5d6b74a593e28a Mon Sep 17 00:00:00 2001 From: matthew-blackman Date: Sat, 18 Nov 2023 19:22:56 -0500 Subject: [PATCH] Remove individual background properties - see https://github.com/phetsims/projectile-data-lab/issues/7 --- js/measures/MeasuresScreen.ts | 2 -- js/sampling/SamplingScreen.ts | 2 -- js/sources/SourcesScreen.ts | 4 +--- js/variability/VariabilityScreen.ts | 4 +--- 4 files changed, 2 insertions(+), 10 deletions(-) diff --git a/js/measures/MeasuresScreen.ts b/js/measures/MeasuresScreen.ts index ea8689d6..7c8e3b7a 100644 --- a/js/measures/MeasuresScreen.ts +++ b/js/measures/MeasuresScreen.ts @@ -7,7 +7,6 @@ import Screen, { ScreenOptions } from '../../../joist/js/Screen.js'; import optionize, { EmptySelfOptions } from '../../../phet-core/js/optionize.js'; -import ProjectileDataLabColors from '../common/ProjectileDataLabColors.js'; import projectileDataLab from '../projectileDataLab.js'; import MeasuresModel from './model/MeasuresModel.js'; import MeasuresScreenView from './view/MeasuresScreenView.js'; @@ -23,7 +22,6 @@ export default class MeasuresScreen extends Screen()( { name: ProjectileDataLabStrings.screen.measuresStringProperty, - backgroundColorProperty: ProjectileDataLabColors.screenBackgroundColorProperty }, providedOptions ); super( diff --git a/js/sampling/SamplingScreen.ts b/js/sampling/SamplingScreen.ts index fc96b70e..8d7d1e9e 100644 --- a/js/sampling/SamplingScreen.ts +++ b/js/sampling/SamplingScreen.ts @@ -7,7 +7,6 @@ import Screen, { ScreenOptions } from '../../../joist/js/Screen.js'; import optionize, { EmptySelfOptions } from '../../../phet-core/js/optionize.js'; -import ProjectileDataLabColors from '../common/ProjectileDataLabColors.js'; import projectileDataLab from '../projectileDataLab.js'; import SamplingModel from './model/SamplingModel.js'; import SamplingScreenView from './view/SamplingScreenView.js'; @@ -23,7 +22,6 @@ export default class SamplingScreen extends Screen()( { name: ProjectileDataLabStrings.screen.samplingStringProperty, - backgroundColorProperty: ProjectileDataLabColors.screenBackgroundColorProperty }, providedOptions ); super( diff --git a/js/sources/SourcesScreen.ts b/js/sources/SourcesScreen.ts index be41b822..010cb8ed 100644 --- a/js/sources/SourcesScreen.ts +++ b/js/sources/SourcesScreen.ts @@ -7,7 +7,6 @@ import Screen, { ScreenOptions } from '../../../joist/js/Screen.js'; import optionize, { EmptySelfOptions } from '../../../phet-core/js/optionize.js'; -import ProjectileDataLabColors from '../common/ProjectileDataLabColors.js'; import projectileDataLab from '../projectileDataLab.js'; import SourcesModel from './model/SourcesModel.js'; import SourcesScreenView from './view/SourcesScreenView.js'; @@ -22,8 +21,7 @@ export default class SourcesScreen extends Screen()( { - name: ProjectileDataLabStrings.screen.sourcesStringProperty, - backgroundColorProperty: ProjectileDataLabColors.screenBackgroundColorProperty + name: ProjectileDataLabStrings.screen.sourcesStringProperty }, providedOptions ); super( diff --git a/js/variability/VariabilityScreen.ts b/js/variability/VariabilityScreen.ts index 7f1341e8..7a7b5c85 100644 --- a/js/variability/VariabilityScreen.ts +++ b/js/variability/VariabilityScreen.ts @@ -7,7 +7,6 @@ import Screen, { ScreenOptions } from '../../../joist/js/Screen.js'; import optionize, { EmptySelfOptions } from '../../../phet-core/js/optionize.js'; -import ProjectileDataLabColors from '../common/ProjectileDataLabColors.js'; import projectileDataLab from '../projectileDataLab.js'; import VariabilityModel from './model/VariabilityModel.js'; import VariabilityScreenView from './view/VariabilityScreenView.js'; @@ -22,8 +21,7 @@ export default class VariabilityScreen extends Screen()( { - name: ProjectileDataLabStrings.screen.variabilityStringProperty, - backgroundColorProperty: ProjectileDataLabColors.screenBackgroundColorProperty + name: ProjectileDataLabStrings.screen.variabilityStringProperty }, providedOptions ); super(