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

refactor: adjust animation logic #5751

Merged
merged 13 commits into from
May 20, 2024
Merged

refactor: adjust animation logic #5751

merged 13 commits into from
May 20, 2024

Conversation

Aarebecca
Copy link
Contributor

  • 从 Element Controller 中抽取出动画逻辑并置于 Animation Controller
  • 调整 Element.draw 方法值,返回一个 IAnmation 对象
  • 调整动画配置逻辑及优先级,具体参考:动画优先级
  • 边的路径与组合尺寸的更新在 onframe 中进行

  • Extract the Animation logic from the Element Controller and put it in the Animation Controller
  • Adjust the Element.draw method value, return a IAnmation object
  • Adjust the animation configuration logic and priority, specific reference: animation priority
  • The path of the edge and the update of the combined dimensions are carried out in onframe

@Aarebecca Aarebecca merged commit 49e51bb into v5 May 20, 2024
5 checks passed
@Aarebecca Aarebecca deleted the refactor/adjust-animation branch May 20, 2024 03:04
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

Successfully merging this pull request may close these issues.

1 participant