-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
A snippet of Tween.update never runs #562
Comments
I think that's a typo! There's a TypeScript config option to prevent that sort of thing actually, maybe we should turn that on. Most importantly, the intent of the project is in the unit tests. So as long as the existing tests pass (or agreed modified tests pass) then all good to change anything. We should add a unit test for |
Sorry, I misread your question last time, but I suppose we need to write a test for making tweens without having called In pre-18.6, calling We can either:
In the case of 1 and 2, we would need to figure how to fix the |
This is related: #271 |
Fixed in #573 (a bit of a small hack, but it works) |
Amazing, what I was missing was making the preserve boolean trickle down. Nice work and thank you! |
No prob! I renamed the signature to Released in 18.6.3 |
This code (link) never runs because (I think)
isPlaying
is meant to be invoked as a function or accessed via its private reference via underscore.Switching the condition to
if (!this._isPlaying) {
fixes that issue, but breaks the testUnremoved tweens which have been updated past their finish time may go backward in time
. This is because howvaluesStart
is applied in theTween.start
method changes. I would've fixed this myself, but I'm not really sure what your intention is with howvaluesStart
should work, so I figured I'd bring it up for discussion here.Edit: Perhaps another solution would be to just delete it?
The text was updated successfully, but these errors were encountered: