mirror of
https://github.com/minetest/minetest_game.git
synced 2025-01-24 14:20:19 +01:00
coding style fix
This commit is contained in:
parent
cc6b859ce0
commit
5cc2b46aa4
@ -48,7 +48,8 @@ local function get_bones_formspec_for_size(numitems)
|
|||||||
local row_05 = 13.2
|
local row_05 = 13.2
|
||||||
local row_15 = 128
|
local row_15 = 128
|
||||||
local multiplier = (row_15 - row_05) / 10
|
local multiplier = (row_15 - row_05) / 10
|
||||||
appendmulti(output, "scrollbaroptions[max=",(rows-5)*multiplier+row_05,"]")
|
local scrollmax = (rows - 5) * multiplier + row_05
|
||||||
|
appendmulti(output, "scrollbaroptions[max=", scrollmax, "]")
|
||||||
appendmulti(output, "scrollbar[8,0;0.3,4.5;vertical;bones_scroll;0]",
|
appendmulti(output, "scrollbar[8,0;0.3,4.5;vertical;bones_scroll;0]",
|
||||||
"scroll_container[0,0.3;10.3,4.95;bones_scroll;vertical;0.1]")
|
"scroll_container[0,0.3;10.3,4.95;bones_scroll;vertical;0.1]")
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user