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 #98
  • Loading branch information
jbphet authored and pixelzoom committed Nov 18, 2021
1 parent 456338b commit e2629f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/LevelSelectionButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ class LevelSelectionButton extends RectangularPushButton {
initialOutputLevel: 0.5,
rateChangesAffectPlayingSounds: false
} );
soundManager.addSoundGenerator( soundClip );
soundManager.addSoundGenerator( soundClip, { categoryName: 'user-interface' } );
options.soundPlayer = {
play() {
soundClip.setPlaybackRate( Math.pow( soundConstants.TWELFTH_ROOT_OF_TWO, options.soundPlayerIndex ), 0 );
Expand Down

0 comments on commit e2629f8

Please sign in to comment.