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

Improve how to take the screenshot #63

Open
ueman opened this issue Apr 5, 2021 · 0 comments
Open

Improve how to take the screenshot #63

ueman opened this issue Apr 5, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@ueman
Copy link
Owner

ueman commented Apr 5, 2021

Currently we wait a little bit to avoid a dirty frame which can't be captured. It probably is cleaner and better to use SchedulerBinding.addPostFrameCallback(). The time to wait is 20 milliseconds or a little bit more than a frame. I don't think this matters much. However by using the post frame callback we can guarantee to capture the next frame.

@ueman ueman changed the title Improve taking of screenshot Improve how to take the screenshot Apr 5, 2021
@ueman ueman added the enhancement New feature or request label May 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant