Tweak scrollbar in creative inventory
|
@ -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 = {
|
||||
|
|
Before Width: | Height: | Size: 621 B After Width: | Height: | Size: 3.4 KiB |
Before Width: | Height: | Size: 607 B After Width: | Height: | Size: 3.4 KiB |
Before Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 70 B |
BIN
mods/HUD/mcl_inventory/textures/mcl_inventory_slider.png
Normal file
After Width: | Height: | Size: 881 B |
BIN
mods/HUD/mcl_inventory/textures/mcl_inventory_slider_bg.png
Normal file
After Width: | Height: | Size: 1.1 KiB |