Skip to content

Commit

Permalink
Distinguish valve icon tandems, see: #60
Browse files Browse the repository at this point in the history
  • Loading branch information
marlitas committed Aug 22, 2022
1 parent cd57018 commit d2fe261
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/intro/view/IntroScreenView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,8 @@ export default class IntroScreenView extends MeanShareAndBalanceScreenView {

// Pipe toggle
const pipeSwitch = new ABSwitch( model.arePipesOpenProperty,
false, new ValveNode( new Vector2( 0, 0 ), new Property( 0 ), options.tandem ),
true, new ValveNode( new Vector2( 0, 0 ), new Property( Math.PI / 2 ), options.tandem ), {
false, new ValveNode( new Vector2( 0, 0 ), new Property( 0 ), options.tandem.createTandem( 'closedValveIcon' ) ),
true, new ValveNode( new Vector2( 0, 0 ), new Property( Math.PI / 2 ), options.tandem.createTandem( 'openValveIcon' ) ), {
tandem: options.tandem.createTandem( 'pipeSwitch' ),
toggleSwitchOptions: {
size: new Dimension2( 40, 20 )
Expand Down

0 comments on commit d2fe261

Please sign in to comment.