Skip to content

The canvas keeps flashing when setting the canvas width and height. #10395

Answered by asturur
overdev-l asked this question in Q&A
Discussion options

You must be logged in to vote

setDimension is going to render at the next animation frame, if you call renderAll right away you could avoid flickering. There should be no side effects.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@asturur
Comment options

Answer selected by overdev-l
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants