mirror of
https://github.com/minetest-mods/unified_inventory.git
synced 2025-06-30 07:20:39 +02:00
re-arrange a few elements in the crafting guide to eliminate text overlap
Also make sure to chech if lite mode before assuming 4x2 "tab" button layout.
This commit is contained in:
@ -48,7 +48,7 @@ function unified_inventory.get_formspec(player, page)
|
||||
-- Main buttons
|
||||
for i, def in pairs(unified_inventory.buttons) do
|
||||
|
||||
if i > 4 then
|
||||
if unified_inventory.lite_mode and i > 4 then
|
||||
button_row = 1
|
||||
button_col = 1
|
||||
end
|
||||
|
Reference in New Issue
Block a user