Skip to content

Commit

Permalink
Move button options into nested options, see phetsims/scenery-phet#877
Browse files Browse the repository at this point in the history
  • Loading branch information
jessegreenberg committed Oct 30, 2024
1 parent 8ace765 commit c6dea42
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions js/common/view/RSBaseScreenView.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,11 @@ class RSBaseScreenView extends ScreenView {
topColor: 'rgb(211, 140, 70)',
highlightColor: 'rgb(229, 186, 144)',
bottomColor: 'rgb(106, 70, 35)',
buttonColor: 'rgb(0, 203, 230)',
buttonOptions: {
baseColor: 'rgb(0, 203, 230)',
rotation: -GUN_ROTATION // so button lighting is correct
},
rotation: GUN_ROTATION, // pointing up
buttonRotation: -GUN_ROTATION, // so button lighting is correct
accessibleName: toggleAlphaParticleString,
helpText: alphaParticlesHelpTextString
} );
Expand Down

0 comments on commit c6dea42

Please sign in to comment.