From c2782dda61da64d45f11d47ea4e3db4144cd8525 Mon Sep 17 00:00:00 2001 From: Vanic Date: Mon, 27 Apr 2026 21:54:47 +0300 Subject: [PATCH] `PlayerInventoryUI`: change the orientation of the inventory mode switch --- .../PlayerInventoryUI/src/PlayerInventoryUI.lua | 4 ++-- ...player_inventory_compact_mode_button_off.png | Bin 709 -> 701 bytes .../player_inventory_compact_mode_button_on.png | Bin 709 -> 701 bytes 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mods/UI/PlayerInventoryUI/src/PlayerInventoryUI.lua b/mods/UI/PlayerInventoryUI/src/PlayerInventoryUI.lua index 4acb57d..27ee59a 100644 --- a/mods/UI/PlayerInventoryUI/src/PlayerInventoryUI.lua +++ b/mods/UI/PlayerInventoryUI/src/PlayerInventoryUI.lua @@ -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,11.25, 9,1, 9) -- 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: :container(tabs[leftTabName](self, playerName, 'left'), 1.5, 0.5) -- 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,11.25, 9,1, 9) -- 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: :container(tabs[leftTabName](self, playerName, 'left'), 0, 0.5) :container(tabs[rightTabName](self, playerName, 'right'), 11, 0.5) diff --git a/mods/UI/PlayerInventoryUI/textures/player_inventory_compact_mode_button_off.png b/mods/UI/PlayerInventoryUI/textures/player_inventory_compact_mode_button_off.png index 415849180043fc2ebdc9e2ea09acc54c54dd5c70..932c7894ca1385d193ce176983bcccee601fe9b5 100644 GIT binary patch literal 701 zcmeAS@N?(olHy`uVBq!ia0vp^0zk~c!3HEhl+{lMQjEnx?oNz1PwLbIIV|apzK#qG z8~eHcB(ehe3dtTpz6=aiY77hwEes65fI?NMQuI#T^q=obil)lV9%D})R?CIhdq9Mx2!SwwvV}iBq zf1on50Sic{thgXn11{cq!Z5ib9;+Nku)cK-0~1bJsKmu{*BN$iIR)mS(;z{D20+bW z02zc05N!ZVGrB<}8vrv1MiXU#m=rHqJvt2%q&OO5EG3$qdbWjw4D)pLb6Mw<&;$VG C#X{f! delta 278 zcmdnXdX!bMGr-TCmrII^fq{Y7)59eQNOJ(O00$e8)b6sYov4^8#wElob8yF+A_fK~ zX-^l&5DigA0jBp87btPC097%(`}}p{Mo}IiUTy|3UtdKA$Y*{0@;w97#ElA*)tMBL zF+@{JiZf7=Kz-{Ph$fIhySJR0Y|kXh12zRD;Ob*G`645d091u8vI>Ta=dObkqX4)9 j3^T=~c!3sA&R|j$(fS~D*P)8d0i@H@)z4*}Q$iB}kZU*! diff --git a/mods/UI/PlayerInventoryUI/textures/player_inventory_compact_mode_button_on.png b/mods/UI/PlayerInventoryUI/textures/player_inventory_compact_mode_button_on.png index f4929dcfb128d96458270e045484ab8b9a60c5cb..0730f8fd062a19d2afc9fa852a5cd9cce0a6b330 100644 GIT binary patch delta 234 zcmX@gx|db4Gr-TCmrII^fq{Y7)59eQNDBZl2L~IF{7_aueWGHfn6!|-(V1VrUNSH+ z346LYhG>W~axi_LxIk%g1Csy{i%vW)G5G)^3-g>gdna#X6jix+=Lv%lFE;}d&=7`; z=dLsC-f{}WM5ZSfGRXrqu}#ir;+-tYC@{H>NeFCSE|WNnKZ%J8D6I&!MgYj>Oz;0PCRp44 z2P(q}SU@t3)gf3F)VHo-04o5=?%r|=MUj{kFPINk;Ob)r7PxrsI*LNL0-{Vn*9|g? zcoSfbLU90)0}h9GpTDAugZV1DRb;R#c>MA`0~1ymB*DR;031*t*Wv>1k7V!a Ss3>j*$$Pr`xvX