mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-17 01:12:39 +01:00
Codechange: Add constant for common blink interval.
This commit is contained in:
committed by
Peter Nelson
parent
ecafbf884e
commit
10841ea3fd
@@ -3073,7 +3073,7 @@ static const IntervalTimer<TimerWindow> window_interval(std::chrono::millisecond
|
||||
});
|
||||
|
||||
/** Blink the window highlight colour constantly. */
|
||||
static const IntervalTimer<TimerWindow> highlight_interval(std::chrono::milliseconds(450), [](auto) {
|
||||
static const IntervalTimer<TimerWindow> highlight_interval(TIMER_BLINK_INTERVAL, [](auto) {
|
||||
_window_highlight_colour = !_window_highlight_colour;
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user