Skip to content

Commit

Permalink
put the back and level-selection buttons into the "user-interface" so…
Browse files Browse the repository at this point in the history
…und category, see phetsims/vegas#98
  • Loading branch information
jbphet committed Nov 15, 2021
1 parent 483c50c commit 96c30a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/buttons/BackButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class BackButton extends RectangularPushButton {
// Create and add the default sound generator if none was provided.
if ( !options.soundPlayer ) {
const goBackSoundClip = new SoundClip( goBackSound, { initialOutputLevel: 0.35 } );
soundManager.addSoundGenerator( goBackSoundClip );
soundManager.addSoundGenerator( goBackSoundClip, { categoryName: 'user-interface' } );
options.soundPlayer = goBackSoundClip;
}

Expand Down

0 comments on commit 96c30a6

Please sign in to comment.