[escher] Redraw the window when a timer fires

Change-Id: Ib62ad7ec9641e6da61f8c3cbf00fbd470d46326c
This commit is contained in:
Émilie Feral
2017-05-15 15:01:06 +02:00
parent 64b31a2974
commit a30bdf0d8d
11 changed files with 22 additions and 23 deletions

View File

@@ -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();
}
}
}