-
Notifications
You must be signed in to change notification settings - Fork 4
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
Tangent can return to default position in launched sim #310
Comments
I'll have a look. This is similar to #307 -- a tool that is in the wrong initial position when state is restored. |
I was able to reproduce. After setting the state, I'll note that modifying the curve does not update the position of the tangent arrow. However, as soon as one modifies the x-position of the scrubber the tangent arrow updates itself to the correct position. |
Fixed in the above commit. As I suspected, this issue and #307 were the same underlying problem, shared by all tools. Great find @Nancy-Salpepi! Please verify in master. |
Thanks @pixelzoom! EDIT: this also fixed the same issue with the point for Area Under Curve |
👍🏻 closing. |
Test device
MacBook Air M1 chip
Operating System
13.2.1
Browser
Safari/FF/Chrome
Problem description
For phetsims/qa#921, on the Derivative Screen, after creating a curve on the left side of the graph and turning on Tangent, the Tangent line will be along the curve and not on the x-axis. When I launch the sim, the Tangent is in its default position along the x-axis.
Steps to reproduce
Visuals
Tangentlinedefault.mp4
The text was updated successfully, but these errors were encountered: