1
0
Fork 0

Tweak scrollbar in creative inventory

objects
Wuzzy 2019-03-06 08:40:04 +01:00
parent 05e3a616b4
commit 5e5dcfaaa3
7 changed files with 4 additions and 4 deletions

View File

@ -336,13 +336,13 @@ mcl_inventory.set_creative_formspec = function(player, start_i, pagenum, inv_siz
"listring[detached:"..playername.."_armor;armor]"..
"listring[current_player;main]"
else
inv_bg = inv_bg .. "^crafting_inventory_creative_scroll.png"
-- Creative inventory slots
main_list = "list[detached:creative_"..playername..";main;0,1.75;9,5;"..tostring(start_i).."]" ..
-- ... and scroll bar
"image_button[9.02,1.76;"..tostring(arrow_height)..",0.6;crafting_creative_up.png;creative_prev;]"..
"image[9.033," .. tostring(slider_pos) .. ";0.78,"..tostring(slider_height) .. ";crafting_slider.png]"..
"image_button[9.02,6.15;"..tostring(arrow_height)..",0.6;crafting_creative_down.png;creative_next;]"
"image[9.033,2.230;0.78,4.525;mcl_inventory_slider_bg.png]"..
"image[9.033," .. tostring(slider_pos) .. ";0.78,"..tostring(slider_height) .. ";mcl_inventory_slider.png]"..
"image_button[9.015,1.77;0.85,0.6;crafting_creative_up.png;creative_prev;]"..
"image_button[9.015,6.15;0.85,0.6;crafting_creative_down.png;creative_next;]"
end
local tab_icon = {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 621 B

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 607 B

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 70 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 881 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB