Skip to content

Commit

Permalink
Remove individual background properties - see #7
Browse files Browse the repository at this point in the history
  • Loading branch information
matthew-blackman committed Nov 19, 2023
1 parent c157208 commit 18e954f
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 10 deletions.
2 changes: 0 additions & 2 deletions js/measures/MeasuresScreen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand All @@ -23,7 +22,6 @@ export default class MeasuresScreen extends Screen<MeasuresModel, MeasuresScreen

const options = optionize<ProjectileDataLabScreenOptions, SelfOptions, ScreenOptions>()( {
name: ProjectileDataLabStrings.screen.measuresStringProperty,
backgroundColorProperty: ProjectileDataLabColors.screenBackgroundColorProperty
}, providedOptions );

super(
Expand Down
2 changes: 0 additions & 2 deletions js/sampling/SamplingScreen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand All @@ -23,7 +22,6 @@ export default class SamplingScreen extends Screen<SamplingModel, SamplingScreen

const options = optionize<ProjectileDataLabScreenOptions, SelfOptions, ScreenOptions>()( {
name: ProjectileDataLabStrings.screen.samplingStringProperty,
backgroundColorProperty: ProjectileDataLabColors.screenBackgroundColorProperty
}, providedOptions );

super(
Expand Down
4 changes: 1 addition & 3 deletions js/sources/SourcesScreen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand All @@ -22,8 +21,7 @@ export default class SourcesScreen extends Screen<SourcesModel, SourcesScreenVie
public constructor( providedOptions: ProjectileDataLabScreenOptions ) {

const options = optionize<ProjectileDataLabScreenOptions, SelfOptions, ScreenOptions>()( {
name: ProjectileDataLabStrings.screen.sourcesStringProperty,
backgroundColorProperty: ProjectileDataLabColors.screenBackgroundColorProperty
name: ProjectileDataLabStrings.screen.sourcesStringProperty
}, providedOptions );

super(
Expand Down
4 changes: 1 addition & 3 deletions js/variability/VariabilityScreen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand All @@ -22,8 +21,7 @@ export default class VariabilityScreen extends Screen<VariabilityModel, Variabil
public constructor( providedOptions: ProjectileDataLabScreenOptions ) {

const options = optionize<ProjectileDataLabScreenOptions, SelfOptions, ScreenOptions>()( {
name: ProjectileDataLabStrings.screen.variabilityStringProperty,
backgroundColorProperty: ProjectileDataLabColors.screenBackgroundColorProperty
name: ProjectileDataLabStrings.screen.variabilityStringProperty
}, providedOptions );

super(
Expand Down

0 comments on commit 18e954f

Please sign in to comment.