Enable multiline by default and update submodules
• Enable the "one element per line" option by default • Update formspec_ast and fs51 • Export formspecs with formspec_version 5
This commit is contained in:
parent
257710d58f
commit
7f9cd33dcd
|
@ -1 +1 @@
|
|||
Subproject commit 8b18059cdf701d8942ec5e0602b60726b2a9d869
|
||||
Subproject commit 1d92fcf28b1bb136abdd04cd2582a4c4d25f0c24
|
2
fs51
2
fs51
|
@ -1 +1 @@
|
|||
Subproject commit 382fd4cc311a99898ee1d7f74765ecbf8d322a28
|
||||
Subproject commit 329056cbea8c65e5bce00337cbe4ab4944335149
|
|
@ -456,7 +456,7 @@ local function render_into(base, formspec, callbacks)
|
|||
end
|
||||
|
||||
local element_dialog
|
||||
local load_save_opts = {}
|
||||
local load_save_opts = {multiline = true}
|
||||
local function show_load_save_dialog()
|
||||
local callbacks = {}
|
||||
local formspec = [[
|
||||
|
|
|
@ -379,7 +379,7 @@ function renderer.elem_to_ast(elem)
|
|||
local w = tonumber(elem:getAttribute('data-w'))
|
||||
local h = tonumber(elem:getAttribute('data-h'))
|
||||
local res = {
|
||||
formspec_version = 4,
|
||||
formspec_version = 5,
|
||||
{
|
||||
type = 'size',
|
||||
w = w or 0,
|
||||
|
|
Loading…
Reference in New Issue