11 lines
251 B
Plaintext
11 lines
251 B
Plaintext
|
lay_out_file_picker = function()
|
||
|
local x,y = 0,0
|
||
|
for _,n in ipairs(Global_state.file_picker) do
|
||
|
local x2,y2 = compute_layout(n, x,y, Surface)
|
||
|
if x2 < 1000 then
|
||
|
x = x2 + File_picker_margin
|
||
|
else
|
||
|
x,y = 0,y2+File_picker_margin
|
||
|
end
|
||
|
end
|
||
|
end
|