Change: Do not generate hover events at each frame
This commit is contained in:

committed by
Michael Lutz

parent
e660860d4b
commit
7c79a2a767
@@ -2969,6 +2969,7 @@ void HandleMouseEvents()
|
|||||||
click = MC_HOVER;
|
click = MC_HOVER;
|
||||||
_input_events_this_tick++;
|
_input_events_this_tick++;
|
||||||
_mouse_hovering = true;
|
_mouse_hovering = true;
|
||||||
|
hover_time = std::chrono::steady_clock::now();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user