From 96c30a65f2a8a39b39c29398150f6aefc17b4572 Mon Sep 17 00:00:00 2001 From: jbphet Date: Mon, 15 Nov 2021 13:18:48 -0700 Subject: [PATCH] put the back and level-selection buttons into the "user-interface" sound category, see https://github.com/phetsims/vegas/issues/98 --- js/buttons/BackButton.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/buttons/BackButton.js b/js/buttons/BackButton.js index 643970f6b..a50c4e6eb 100644 --- a/js/buttons/BackButton.js +++ b/js/buttons/BackButton.js @@ -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; }