mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-30 12:10:03 +02:00
[escher] Redraw the window when a timer fires
Change-Id: Ib62ad7ec9641e6da61f8c3cbf00fbd470d46326c
This commit is contained in:
@@ -48,7 +48,9 @@ bool RunLoop::step() {
|
||||
m_time -= Timer::TickDuration;
|
||||
for (int i=0; i<numberOfTimers(); i++) {
|
||||
Timer * timer = timerAtIndex(i);
|
||||
timer->tick();
|
||||
if (timer->tick()) {
|
||||
windowRedraw();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user