Skip to content

Commit

Permalink
review
Browse files Browse the repository at this point in the history
  • Loading branch information
metalgearsloth committed Aug 31, 2024
1 parent 6f590c4 commit b55735b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Robust.Client/UserInterface/UserInterfaceManager.Input.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit b55735b

Please sign in to comment.