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:
luk3yx 2022-07-04 19:50:46 +12:00
parent 8ae86dd0b0
commit e3ebafb540
2 changed files with 2 additions and 2 deletions

@ -1 +1 @@
Subproject commit eef2860b4bad0c487619c538fcb3f8cb5515bd65
Subproject commit a42f6882749dd55e406ca381d60a61dd417771fa

View File

@ -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,