From 6aac90094eb721d8d9cc7169cbc808ae34bace62 Mon Sep 17 00:00:00 2001 From: MihailRis Date: Tue, 27 Jan 2026 23:10:08 +0300 Subject: [PATCH] add 'fallback' property to xml and scripting --- res/layouts/templates/pack.xml | 2 +- res/layouts/templates/world.xml | 2 +- src/graphics/ui/elements/Image.hpp | 1 - src/graphics/ui/gui_xml.cpp | 4 +++- src/logic/scripting/lua/libs/libgui.cpp | 14 ++++++++++++++ 5 files changed, 19 insertions(+), 4 deletions(-) diff --git a/res/layouts/templates/pack.xml b/res/layouts/templates/pack.xml index 3b24aa960..56bd50e50 100644 --- a/res/layouts/templates/pack.xml +++ b/res/layouts/templates/pack.xml @@ -11,5 +11,5 @@ - + diff --git a/res/layouts/templates/world.xml b/res/layouts/templates/world.xml index 4ae936b6e..d20f78407 100644 --- a/res/layouts/templates/world.xml +++ b/res/layouts/templates/world.xml @@ -4,7 +4,7 @@ hover-color='#162B3399' onclick='app.open_world("%{name}")' > - +