Skip to content
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

OnComplete isn't called in cases where the origina and target values are equal #29

Closed
ehudros opened this issue Jun 17, 2015 · 1 comment
Assignees
Labels

Comments

@ehudros
Copy link

ehudros commented Jun 17, 2015

Hi,
Unless I missed something, it looks like in cases where a tween is created but no actual movement needs to happen (the target value is the same as the original value) the tween is aborted and its callbacks are not called.
I'm guessing this is an intentional design choice? Doesn't it make more sense for the tween to be totally agnostic about such things and basically run as usual?

@Demigiant Demigiant self-assigned this Jun 18, 2015
@Demigiant
Copy link
Owner

Hi,

The tween indeed doesn't care if there actual change or not, and it runs anyway and calls the callbacks. Maybe it's getting killed for other reasons (try to set LogBehaviour to Verbose to get more info).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants