-
-
Notifications
You must be signed in to change notification settings - Fork 21.7k
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
Add p_keep_state
to AnimationPlayer::stop()
#71619
Add p_keep_state
to AnimationPlayer::stop()
#71619
Conversation
p_keep_state
to AnimationPlayer::stop()p_keep_state
to AnimationPlayer::stop()
Maybe the description could be updated to mention that |
d4bc17a
to
adb300b
Compare
updated docs |
adb300b
to
156f3f7
Compare
156f3f7
to
d16004f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I feel like the docs could be clarified a bit more, like explicitly mention that play()
after stop(true)
will restart animation and there could be some code samples etc.
The PR looks ok though.
Seems fine to me, but does that mean that we practically invert the semantics for the It's not blocking (and the breakage already happened in the previous PR), but I wonder what we could do to ease the transition. |
No, the |
Thanks! |
Follow up #33733.
Add an option
p_keep_state
toAnimationPlayer::stop()
to avoid state updates for 3.x compatibility and for versatility.