Skip to content

Commit

Permalink
changed SoundPlayer to ISoundPlayer, see phetsims/tambo#160
Browse files Browse the repository at this point in the history
  • Loading branch information
jbphet committed Apr 15, 2022
1 parent cc23b15 commit 7ed7135
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions js/view/GFLBMassControl.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import NumberPicker from '../../../scenery-phet/js/NumberPicker.js';
import PhetFont from '../../../scenery-phet/js/PhetFont.js';
import { Color, HBox, ReadingBlock, Text, VBox } from '../../../scenery/js/imports.js';
import Panel from '../../../sun/js/Panel.js';
import SoundPlayer from '../../../tambo/js/SoundPlayer.js';
import nullSoundPlayer from '../../../tambo/js/shared-sound-players/nullSoundPlayer.js';
import GFLBConstants from '../GFLBConstants.js';
import gravityForceLabBasics from '../gravityForceLabBasics.js';
import gravityForceLabBasicsStrings from '../gravityForceLabBasicsStrings.js';
Expand Down Expand Up @@ -75,8 +75,8 @@ class GFLBMassControl extends Panel {
color: options.color,

// sound
valueChangedSoundPlayer: SoundPlayer.NO_SOUND,
boundarySoundPlayer: SoundPlayer.NO_SOUND,
valueChangedSoundPlayer: nullSoundPlayer,
boundarySoundPlayer: nullSoundPlayer,

a11yCreateAriaValueText: () => massDescriber.getMassAndUnit( thisObjectEnum ),

Expand Down

0 comments on commit 7ed7135

Please sign in to comment.