Merge remote-tracking branch 'upstream/master'

This commit is contained in:
dP
2024-05-05 15:34:56 +05:00
114 changed files with 1226 additions and 965 deletions

View File

@@ -801,7 +801,7 @@ struct TimetableWindow : Window {
/**
* In real-time mode, the timetable GUI shows relative times and needs to be redrawn every second.
*/
IntervalTimer<TimerGameTick> redraw_interval = {Ticks::TICKS_PER_SECOND, [this](auto) {
IntervalTimer<TimerGameTick> redraw_interval = { { TimerGameTick::Priority::NONE, Ticks::TICKS_PER_SECOND }, [this](auto) {
if (_settings_client.gui.timetable_mode == TimetableMode::Seconds) {
this->SetDirty();
}