Codechange: use scoped enums for timer enumerations, rename one enum

This commit is contained in:
Rubidium
2026-01-17 10:54:17 +01:00
committed by rubidium42
parent 7092162a97
commit 03c24810b1
30 changed files with 95 additions and 93 deletions
+1 -1
View File
@@ -789,7 +789,7 @@ struct TimetableWindow : Window {
/**
* In real-time mode, the timetable GUI shows relative times and needs to be redrawn every second.
*/
const IntervalTimer<TimerGameTick> redraw_interval = { { TimerGameTick::Priority::NONE, Ticks::TICKS_PER_SECOND }, [this](auto) {
const IntervalTimer<TimerGameTick> redraw_interval = { { TimerGameTick::Priority::None, Ticks::TICKS_PER_SECOND }, [this](auto) {
if (_settings_client.gui.timetable_mode == TimetableMode::Seconds) {
this->SetDirty();
}