dlg_create_world.lua: Fix scrollbar slider
This commit is contained in:
parent
d12f19fabf
commit
476d65034f
@ -82,9 +82,9 @@ function get_dropdown(x, y, w, name, items, selected_idx, dropdown_open, max_ite
|
|||||||
|
|
||||||
fs[#fs + 1] = fmt("scrollbaroptions[max=%d;thumbsize=%s]", math.ceil(scrollbar_max),
|
fs[#fs + 1] = fmt("scrollbaroptions[max=%d;thumbsize=%s]", math.ceil(scrollbar_max),
|
||||||
(outer_h / inner_h) * scrollbar_max)
|
(outer_h / inner_h) * scrollbar_max)
|
||||||
fs[#fs + 1] = fmt("scrollbar[%s,%s;0.7,%s;vertical;scrbar;0;" ..
|
fs[#fs + 1] = scrollbar_style("scrbar")
|
||||||
"%sscrollbar_bg.png,%sscrollbar_slider.png,%sscrollbar_up.png,%sscrollbar_down.png]",
|
fs[#fs + 1] = fmt("scrollbar[%s,%s;0.7,%s;vertical;scrbar;0]",
|
||||||
x + w - 0.76, y + 0.84, outer_h - 0.11, button_path, button_path, button_path, button_path)
|
x + w - 0.76, y + 0.84, outer_h - 0.11)
|
||||||
fs[#fs + 1] = fmt("image[%s,%s;%s,0.79;%sdropdown_fg_end.png;32]", x, y + outer_h + 0.02, w, button_path)
|
fs[#fs + 1] = fmt("image[%s,%s;%s,0.79;%sdropdown_fg_end.png;32]", x, y + outer_h + 0.02, w, button_path)
|
||||||
else
|
else
|
||||||
fs[#fs + 1] = "container_end[]"
|
fs[#fs + 1] = "container_end[]"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user