mirror of https://github.com/OpenTTD/OpenTTD.git
Change: Do not generate hover events at each frame
This commit is contained in:
parent
e660860d4b
commit
7c79a2a767
|
@ -2969,6 +2969,7 @@ void HandleMouseEvents()
|
|||
click = MC_HOVER;
|
||||
_input_events_this_tick++;
|
||||
_mouse_hovering = true;
|
||||
hover_time = std::chrono::steady_clock::now();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue