Code style

This commit is contained in:
luk3yx 2022-11-08 22:06:15 +13:00
parent 186e758873
commit 292e4fbe8d
1 changed files with 11 additions and 7 deletions

View File

@ -192,13 +192,17 @@ end
local gui = flow.widgets
local item_picker = flow.make_gui(function(player, ctx)
local rows = {name='items', w = 11.8, h = 5.8, custom_scrollbar = {
w = 0.9,
scrollbar_bg = "inventory_creative_scrollbar_bg.png",
slider = "inventory_creative_slider.png",
arrow_up = "inventory_creative_arrow_up.png",
arrow_down = "inventory_creative_arrow_down.png",
}}
local rows = {
name = "items",
w = 11.8, h = 5.8,
custom_scrollbar = {
w = 0.9,
scrollbar_bg = "inventory_creative_scrollbar_bg.png",
slider = "inventory_creative_slider.png",
arrow_up = "inventory_creative_arrow_up.png",
arrow_down = "inventory_creative_arrow_down.png",
}
}
local query = ctx.form.Dsearch and lower(ctx.form.Dsearch) or ""