From 991d6a448a869bff9ed7836676eae9fdd2c9aeed Mon Sep 17 00:00:00 2001 From: pixelzoom Date: Wed, 10 Feb 2021 12:44:42 -0700 Subject: [PATCH] register ScreenSelectionSoundGenerator as category 'user-interface', https://github.com/phetsims/joist/issues/680 --- js/Sim.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/js/Sim.js b/js/Sim.js index 021853bc..ac1c7a49 100644 --- a/js/Sim.js +++ b/js/Sim.js @@ -494,7 +494,10 @@ class Sim { if ( this.supportsSound ) { soundManager.initialize( this.browserTabVisibleProperty, this.activeProperty ); soundManager.addSoundGenerator( - new ScreenSelectionSoundGenerator( this.screenProperty, this.homeScreen, { initialOutputLevel: 0.5 } ) + new ScreenSelectionSoundGenerator( this.screenProperty, this.homeScreen, { initialOutputLevel: 0.5 } ), + { + categoryName: 'user-interface' + } ); }