Fix character screen weapon slot positioning regression

Weapon slots were positioned too far right (at rightColX) causing overlap with right
column equipment. Repositioned to center column area (contentStartX + slotSize + 8px),
after left column. 3D preview renders on top, no visual conflict.
This commit is contained in:
Kelsi 2026-03-11 16:49:27 -07:00
parent 0c8fb94f0c
commit bfeb978eff

View file

@ -1367,8 +1367,8 @@ void InventoryScreen::renderEquipmentPanel(game::Inventory& inventory) {
game::EquipSlot::RANGED,
};
// Position weapons to the right of the left column (after the 3D preview column)
ImGui::SetCursorPosX(rightColX);
// Position weapons in center column area (after left column, 3D preview renders on top)
ImGui::SetCursorPosX(contentStartX + slotSize + 8.0f);
for (int i = 0; i < 3; i++) {
if (i > 0) ImGui::SameLine();
const auto& slot = inventory.getEquipSlot(weaponSlots[i]);