Update formspec_ast so that 9-slice images can be loaded in
Note that they are rendered as regular images
This commit is contained in:
parent
8ae86dd0b0
commit
e3ebafb540
|
@ -1 +1 @@
|
|||
Subproject commit eef2860b4bad0c487619c538fcb3f8cb5515bd65
|
||||
Subproject commit a42f6882749dd55e406ca381d60a61dd417771fa
|
|
@ -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 = 5,
|
||||
formspec_version = 6,
|
||||
{
|
||||
type = 'size',
|
||||
w = w or 0,
|
||||
|
|
Loading…
Reference in New Issue