Bug fixes. (#367)

- Do not draw more frames than what is needed.
- Fix MenuEntry transform state.
- Fix Canvas animated example.
This commit is contained in:
Arthur Sonzogni
2022-03-26 07:55:52 +01:00
committed by GitHub
parent 548fa51b71
commit 62fb6298be
4 changed files with 58 additions and 57 deletions

View File

@@ -79,7 +79,7 @@ class ScreenInteractive : public Screen {
std::atomic<bool> quit_ = false;
std::thread event_listener_;
std::thread animation_listener_;
bool animation_requested_ = true;
bool animation_requested_ = false;
animation::TimePoint previous_animation_time;
int cursor_x_ = 1;