Even spaced hotbar (#22252)

* Fix spacing on hotbar

* more tweaksies
This commit is contained in:
Nemanja
2023-12-11 06:37:51 -05:00
committed by GitHub
parent cf3a5fe747
commit b37b988ce3
8 changed files with 54 additions and 46 deletions

View File

@@ -68,6 +68,7 @@ public abstract class ItemSlotUIContainer<T> : GridContainer, IItemslotUIContain
{
if (!Children.Contains(newButton) && newButton.Parent == null && newButton.SlotName != "")
AddChild(newButton);
Columns = ChildCount;
return AddButtonToDict(newButton);
}