PlayerInventoryUI: change the orientation of the inventory mode switch

This commit is contained in:
Van
2026-04-27 21:54:47 +03:00
parent a9f96d97f2
commit c2782dda61
3 changed files with 2 additions and 2 deletions

View File

@@ -91,7 +91,7 @@ local function getCompactForm(self, playerName)
:list('current_player', 'main', 1.5,9.75, 9,1) :list('current_player', 'main', 1.5,9.75, 9,1)
:list('current_player', 'main', 1.5,11.25, 9,1, 9) :list('current_player', 'main', 1.5,11.25, 9,1, 9)
-- Inventory mode switch button (compact/full): -- Inventory mode switch button (compact/full):
:imageButton(13, 9.75, 0.5, 1, 'player_inventory_compact_mode_button_on.png', 'change_compact_mode') :imageButton(12.75, 10, 1, 0.5, 'player_inventory_compact_mode_button_on.png', 'change_compact_mode')
-- Tab: -- Tab:
:container(tabs[leftTabName](self, playerName, 'left'), 1.5, 0.5) :container(tabs[leftTabName](self, playerName, 'left'), 1.5, 0.5)
-- Selection buttons for the (left) panel: -- Selection buttons for the (left) panel:
@@ -146,7 +146,7 @@ local function getFullForm(self, playerName)
:list('current_player', 'main', 5.5,9.75, 9,1) :list('current_player', 'main', 5.5,9.75, 9,1)
:list('current_player', 'main', 5.5,11.25, 9,1, 9) :list('current_player', 'main', 5.5,11.25, 9,1, 9)
-- Inventory mode switch button (compact/full): -- Inventory mode switch button (compact/full):
:imageButton(17, 9.75, 0.5, 1, 'player_inventory_compact_mode_button_off.png', 'change_compact_mode') :imageButton(16.75, 10, 1, 0.5, 'player_inventory_compact_mode_button_off.png', 'change_compact_mode')
-- Tabs: -- Tabs:
:container(tabs[leftTabName](self, playerName, 'left'), 0, 0.5) :container(tabs[leftTabName](self, playerName, 'left'), 0, 0.5)
:container(tabs[rightTabName](self, playerName, 'right'), 11, 0.5) :container(tabs[rightTabName](self, playerName, 'right'), 11, 0.5)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 709 B

After

Width:  |  Height:  |  Size: 701 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 709 B

After

Width:  |  Height:  |  Size: 701 B