Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use ResetAllButton.isResettingAllProperty to mute sound in MassSoundGenerator #328

Closed
jbphet opened this issue Apr 12, 2024 · 3 comments
Closed

Comments

@jbphet
Copy link
Contributor

jbphet commented Apr 12, 2024

In phetsims/tambo#190 a more globally available flag was created that can be used to determine if a "reset all" action is in progress. This could be used in MassSoundGenerator to mute sound generation during reset.

@jbphet jbphet self-assigned this Apr 12, 2024
@jbphet
Copy link
Contributor Author

jbphet commented Apr 12, 2024

Changes made. Assigning to @zepumph for review, as he is listed as the responsible dev for this sim.

@jbphet
Copy link
Contributor Author

jbphet commented Apr 12, 2024

Note that this also affects gravity-force-lab, but it doesn't seem like it's worth a separate issue. Both should be reviewed.

@zepumph
Copy link
Member

zepumph commented Apr 13, 2024

Looks great, thanks

@zepumph zepumph closed this as completed Apr 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants