slots-grid coord fix

This commit is contained in:
MihailRis
2024-02-12 18:40:47 +03:00
parent 87f50f79c9
commit e9cbb04090
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -396,7 +396,7 @@ static void readSlotsGrid(InventoryView* view, gui::UiXmlReader& reader, xml::xm
}
SlotLayout slotLayout = layout;
slotLayout.index = startIndex + idx;
slotLayout.position = glm::vec2(
slotLayout.position += glm::vec2(
padding + col * (slotSize + interval),
padding + row * (slotSize + interval)
);