-
Notifications
You must be signed in to change notification settings - Fork 6
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
Should the CloseButton use generalCloseSoundPlayer by default? #859
Comments
I saw this comment in dialog, so while it wouldn't hurt it is definitely not needed for it's largest use case which is // turn off default sound generation, Dialog will create its own sounds
soundPlayer: nullSoundPlayer, The closeButton is currently only being used in Since this is regarding a scenery-phet component I'm going to move this issue there, but I think it is ultimately the decision of the responsible dev for that repo which is @jessegreenberg. |
@jessegreenberg I'm happy to add the |
Commits made above. I looked for other usages of CloseButton to see if there were any sound conflicts with custom sounds but didn't notice any. @jbphet would you mind reviewing, are you OK with adding this default sound to CloseButton? |
This definitely seems appropriate. The commits look good, and I test drove it in the Mean Info Dialog in mean-share-and-balance, and it sounds good. Closing. |
This option is passed to the CloseButton, should it use this soundPlayer by default?
For phetsims/mean-share-and-balance#270
The text was updated successfully, but these errors were encountered: