Reset ghost role menu scroll upon search (#30159)
Quality of life so it doesn't sit on your old spot anymore.
This commit is contained in:
@@ -90,6 +90,8 @@ namespace Content.Client.UserInterface.Systems.Ghost.Controls
|
||||
_searchText = args.Text;
|
||||
|
||||
UpdateVisibleButtons();
|
||||
// Reset scroll bar so they can see the relevant results.
|
||||
GhostScroll.SetScrollValue(Vector2.Zero);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user