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 1cb8a62 commit 76600ba
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions js/view/MassControl.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ import Utils from '../../../dot/js/Utils.js';
import ISLCObjectControlPanel from '../../../inverse-square-law-common/js/view/ISLCObjectControlPanel.js';
import EnumerationDeprecated from '../../../phet-core/js/EnumerationDeprecated.js';
import PhetFont from '../../../scenery-phet/js/PhetFont.js';
import SoundPlayer from '../../../tambo/js/SoundPlayer.js';
import gravityForceLabStrings from '../gravityForceLabStrings.js';
import nullSoundPlayer from '../../../tambo/js/shared-sound-players/nullSoundPlayer.js';
import gravityForceLab from '../gravityForceLab.js';
import gravityForceLabStrings from '../gravityForceLabStrings.js';

const unitsKgString = gravityForceLabStrings.units.kg;

Expand Down Expand Up @@ -99,7 +99,7 @@ class MassControl extends ISLCObjectControlPanel {
yMargin: 4
},
arrowButtonOptions: {
soundPlayer: SoundPlayer.NO_SOUND
soundPlayer: nullSoundPlayer
}
},

Expand Down

0 comments on commit 76600ba

Please sign in to comment.