Skip to content

Commit

Permalink
register ScreenSelectionSoundGenerator as category 'user-interface', #…
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelzoom committed Feb 10, 2021
1 parent f5ba962 commit 991d6a4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion js/Sim.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}
);
}

Expand Down

0 comments on commit 991d6a4

Please sign in to comment.