Skip to content

Commit

Permalink
Remove unnecessary calls to setScreenSummaryIntroAndTitle, see #103
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Mar 16, 2023
1 parent d55f4e6 commit 7d97b29
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions js/intro/view/IntroScreenView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ export default class IntroScreenView extends MySolarSystemScreenView {
screenSummaryContent: new IntroScreenViewSummaryContentNode()
}, providedOptions );
super( model, options );

this.setScreenSummaryIntroAndTitle( MySolarSystemStrings[ 'my-solar-system' ].titleStringProperty.value, MySolarSystemStrings.screen.intro, MySolarSystemStrings[ 'my-solar-system' ].titleStringProperty.value, true );
}
}

Expand Down
2 changes: 0 additions & 2 deletions js/lab/view/LabScreenView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ export default class LabScreenView extends MySolarSystemScreenView {
model.bodyRemovedEmitter.addListener( () => {
this.bodySoundManager.playBodyRemovedSound( model.bodies.length - 1 );
} );

this.setScreenSummaryIntroAndTitle( MySolarSystemStrings[ 'my-solar-system' ].titleStringProperty.value, MySolarSystemStrings.screen.lab, MySolarSystemStrings[ 'my-solar-system' ].titleStringProperty.value, true );
}
}

Expand Down

0 comments on commit 7d97b29

Please sign in to comment.