Skip to content

Commit

Permalink
add missing tandem, phetsims/scenery#1621
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelzoom committed Apr 2, 2024
1 parent 4812e57 commit b1eb403
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js/wilder/view/WilderScreenView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ class WilderScreenView extends ScreenView {
const disabledText = new Text( 'Some Hotkeys Disabled', { font: new PhetFont( 16 ) } );
const enabledSwitch = new ABSwitch( extraEnabledProperty, true, enabledText, false, disabledText, {
centerX: this.layoutBounds.centerX,
bottom: this.layoutBounds.maxY - 10
bottom: this.layoutBounds.maxY - 10,
tandem: providedOptions.tandem.createTandem( 'enabledSwitch' )
} );
this.addChild( enabledSwitch );

Expand Down

0 comments on commit b1eb403

Please sign in to comment.