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

动画系统中发现的两个问题 #15

Closed
sosotan opened this issue Oct 23, 2018 · 1 comment
Closed

动画系统中发现的两个问题 #15

sosotan opened this issue Oct 23, 2018 · 1 comment

Comments

@sosotan
Copy link
Contributor

sosotan commented Oct 23, 2018

1,动画系统需要设置可以无限循环播放
2,动画对象在播放完成后会被自动销毁,但使用时并不知道对象是否已经被销毁,继续调用动画系统函数操作该动画对象会导致崩溃

@xianjimli
Copy link
Member

已修改,谢谢。

  • yoyo_times或repeat_times设置为0时,视为永久播放。
  • 调用widget_animator_set_destroy_when_done可以禁止播放完成时自动销毁动画对象。

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

No branches or pull requests

2 participants