Closed jessegreenberg closed 3 months ago
I noticed that ResetAllButton has this:
// A flag that is true whenever any "reset all" is in progress. This is often useful for muting sounds that shouldn't
// be triggered by model value changes that occur due to a reset.
public static isResettingAllProperty: TReadOnlyProperty<boolean> = isResettingAllProperty;
Should that be used instead of the one in soccer-common?
Thanks for catching that there is a isResettingAllProperty
we can use. I went ahead and had us point to that Property instead and removed the soccer-common specific isResettingProperty
.
@jessegreenberg this is ready for your review.
Great! I did not regression test but I am happy that isRessetingProperty
could be deleted from soccer-common. Closing.
soccer-common has an isResettingProperty to control sounds during the reset. Would this be beneficial for other sims in scenery-phet?
270