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

consider forcing offscreen canvas updates #16

Closed
ThaUnknown opened this issue Feb 3, 2023 · 1 comment
Closed

consider forcing offscreen canvas updates #16

ThaUnknown opened this issue Feb 3, 2023 · 1 comment

Comments

@ThaUnknown
Copy link
Owner

TLDR offscreen canvas will stop updating the exposed after a few seconds after a resize, meaning if someone wants to clone the data the canvas outputs it will just keep yielding the same data, even tho the canvas itself updates, this can be worked around by constantly doing offscreenCavasContext.width = offscreenCavasContext.width but might have bad performance implications? maybe it could be used to clear the canvas like that instead?

@ThaUnknown
Copy link
Owner Author

5817884

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

1 participant