mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-28 18:20:14 +01:00
[escher] Fix bug: do not redraw window at each timer fire but only for
timer requiring redraw Change-Id: Ia39a35185a4836809970f5ba77cc76a8b2e6ee26
This commit is contained in:
@@ -49,7 +49,7 @@ bool RunLoop::step() {
|
||||
for (int i=0; i<numberOfTimers(); i++) {
|
||||
Timer * timer = timerAtIndex(i);
|
||||
if (timer->tick()) {
|
||||
dispatchEvent(Ion::Events::TimerTick);
|
||||
dispatchEvent(Ion::Events::TimerFire);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user