Fix scrollbar
This commit is contained in:
parent
83d92ed402
commit
5c826f7ea7
1
init.lua
1
init.lua
|
@ -1768,6 +1768,7 @@ local function get_inventory_mode(player, fs, data, full_height)
|
||||||
fs(sprintf([[
|
fs(sprintf([[
|
||||||
scrollbaroptions[arrows=hide;thumbsize=%u;max=%u]
|
scrollbaroptions[arrows=hide;thumbsize=%u;max=%u]
|
||||||
scrollbar[9.69,0.2;0.3,5.5;vertical;scrbar_inv;%u]
|
scrollbar[9.69,0.2;0.3,5.5;vertical;scrbar_inv;%u]
|
||||||
|
scrollbaroptions[arrows=default;thumbsize=0;max=1000]
|
||||||
]],
|
]],
|
||||||
(max_val * 3) / 15, max_val, data.scrbar_inv or 0))
|
(max_val * 3) / 15, max_val, data.scrbar_inv or 0))
|
||||||
|
|
||||||
|
|
Ŝarĝante…
Reference in New Issue