You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Request_redraw() call from a task spawned by async_std::task::spawn_local doesn’t produce RedrawRequested event.
Need to wait for another event like a mouse event to receive the RedrawRequested event.
The text was updated successfully, but these errors were encountered:
I just hit that and started investigating it, the problem is very simple: request_redraw() doesn't wake up the event loop, it just queues the request but does nothing else.
A simple workaround is just to send a custom event, which actually does the whole waking up process.
Working on a PR!
Request_redraw() call from a task spawned by async_std::task::spawn_local doesn’t produce RedrawRequested event.
Need to wait for another event like a mouse event to receive the RedrawRequested event.
The text was updated successfully, but these errors were encountered: