feedback
feedback copied to clipboard
Improve how to take the screenshot
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.