LibCore: Unmark timer interval being dirty after applying new interval

Previously it was never unmarked, so the timer would constantly stop
and start, which made the timer jittery especially at small intervals.
This commit is contained in:
Luke Wilde 2025-07-25 12:35:59 +01:00 committed by Alexander Kalenik
commit 31faf31f6a
Notes: github-actions[bot] 2025-07-26 14:10:45 +00:00

View file

@ -90,6 +90,7 @@ void Timer::timer_event(TimerEvent&)
if (m_interval_dirty) {
stop();
start(m_interval_ms);
m_interval_dirty = false;
}
}