From b55735b50f4a23c222e477225c9c5a26ad3c2a24 Mon Sep 17 00:00:00 2001 From: metalgearsloth Date: Sat, 31 Aug 2024 11:18:40 +1000 Subject: [PATCH] review --- Robust.Client/UserInterface/UserInterfaceManager.Input.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Robust.Client/UserInterface/UserInterfaceManager.Input.cs b/Robust.Client/UserInterface/UserInterfaceManager.Input.cs index 6a043a72a59..2b647131fc0 100644 --- a/Robust.Client/UserInterface/UserInterfaceManager.Input.cs +++ b/Robust.Client/UserInterface/UserInterfaceManager.Input.cs @@ -144,6 +144,9 @@ public void KeyBindUp(BoundKeyEventArgs args) public void MouseMove(MouseMoveEventArgs mouseMoveEventArgs) { _resetTooltipTimer(); + // Update which control is considered hovered. + var newHovered = MouseGetControl(mouseMoveEventArgs.Position); + SetHovered(newHovered); var target = ControlFocused ?? CurrentlyHovered; if (target != null)