Using Event::Refresh #770
Unanswered
vaibspider
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I wanted to have the screen contents refreshed after each timer interrupt. I found and tried Event::Refresh inside on_event() function. But somehow, it seems even if I've set autorefresh or fps, only the draw() function is affected. It doesn't seem to reach Event::Refresh at all.
Could you please confirm if using Event::Refresh inside on_event() for Canvas is appropriate for such a situation or something else should be used?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions