Skip to content

Commit

Permalink
create screen scaffolding for buoyancy basics, phetsims/buoyancy-basi…
Browse files Browse the repository at this point in the history
…cs#4 phetsims/buoyancy-basics#5

Signed-off-by: Michael Kauzmann <[email protected]>
  • Loading branch information
zepumph committed Apr 25, 2024
1 parent 615c4a2 commit 450fc89
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions js/explore/ExploreScreen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ import ScreenIcon from '../../../joist/js/ScreenIcon.js';

export default class ExploreScreen extends Screen<BuoyancyExploreModel, BuoyancyExploreScreenView> {
public constructor( tandem: Tandem ) {
const icon = BuoyancyExploreScreenView.getBuoyancyExploreIcon();
super(
() => new BuoyancyExploreModel( {
tandem: tandem.createTandem( 'model' )
Expand All @@ -28,7 +27,7 @@ export default class ExploreScreen extends Screen<BuoyancyExploreModel, Buoyancy
{
name: BuoyancyStrings.screen.exploreStringProperty,
backgroundColorProperty: DensityBuoyancyCommonColors.skyBottomProperty,
homeScreenIcon: new ScreenIcon( icon, {
homeScreenIcon: new ScreenIcon( BuoyancyExploreScreenView.getBuoyancyExploreIcon(), {
maxIconWidthProportion: 1,
maxIconHeightProportion: 1
} ),
Expand Down

0 comments on commit 450fc89

Please sign in to comment.