-
Notifications
You must be signed in to change notification settings - Fork 2
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
Mass changes when pressing Restart #328
Comments
This has popped up before in #171, going to investigate |
So, as far as I can tell, there are multiple things occurring here:
Might be a good one to pair as well @pixelzoom |
After talking with @pixelzoom it seems the potential error of NumberControl is not something we'd want to try to fix. Rather, I'll look into possible workarounds for this issue. |
Added a fix, please review and mark for cherry picking. Thanks! |
This looks good on main. |
(cherry picked from commit 18cc9b3)
This looks good in rc.4 |
Test device
MacBook Air M1 chip
Operating System
14.1.2
Browser
FireFox/Chrome/Safari
Problem description
For phetsims/qa#1015, if the mass of a body is changed with the increment/decrement buttons when the sim is playing, pressing Restart changes the mass value by 1. This is only seen if the button is pressed repeatedly --not seen if you press and hold or if you use the slider.
EDIT: Actually the sim doesn't need to be playing initially for this to happen.
Steps to reproduce
Visuals
massChanges.mp4
The text was updated successfully, but these errors were encountered: