Skip to content

Commit

Permalink
Moving ResetAllButton.isResettingAllProperty => top level file, avoid…
Browse files Browse the repository at this point in the history
…s circular dependency for phetsims/scenery-phet#894
  • Loading branch information
jonathanolson committed Dec 18, 2024
1 parent a8da70e commit 6cc877b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/view/MassSoundGenerator.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

import BooleanProperty from '../../../axon/js/BooleanProperty.js';
import merge from '../../../phet-core/js/merge.js';
import ResetAllButton from '../../../scenery-phet/js/buttons/ResetAllButton.js';
import isResettingAllProperty from '../../../scenery-phet/js/isResettingAllProperty.js';
import SoundClip from '../../../tambo/js/sound-generators/SoundClip.js';
import rubberBand_v3_mp3 from '../../sounds/rubberBand_v3_mp3.js';
import gravityForceLab from '../gravityForceLab.js';
Expand Down Expand Up @@ -59,7 +59,7 @@ class MassSoundGenerator extends SoundClip {
// range checking
assert && assert( massRange.contains( mass ), 'mass value out of range' );

if ( !ResetAllButton.isResettingAllProperty.value ) {
if ( !isResettingAllProperty.value ) {

let playForThisChange;
if ( playBasedOnThresholdsProperty.value ) {
Expand Down

0 comments on commit 6cc877b

Please sign in to comment.