Change: Do not generate hover events at each frame

This commit is contained in:
Nicolas Chappe
2021-12-23 14:35:27 +01:00
committed by Michael Lutz
parent e660860d4b
commit 7c79a2a767

View File

@@ -2969,6 +2969,7 @@ void HandleMouseEvents()
click = MC_HOVER;
_input_events_this_tick++;
_mouse_hovering = true;
hover_time = std::chrono::steady_clock::now();
}
}
}