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

draw 回调问题 #1

Open
longyiyiyu opened this issue Feb 2, 2019 · 1 comment
Open

draw 回调问题 #1

longyiyiyu opened this issue Feb 2, 2019 · 1 comment
Labels
canvas about canvas experience learn from this

Comments

@longyiyiyu
Copy link
Contributor

  1. 某些机型或场景不执行
  2. 并不是真正在画完成之后执行
@longyiyiyu longyiyiyu added experience learn from this canvas about canvas labels Feb 2, 2019
@longyiyiyu
Copy link
Contributor Author

解决方案是不要用 draw 回调,直接用 setTimeout,在可以接受的延迟时间尽可能长得等 canvas 画完

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

No branches or pull requests

1 participant