core.delete_world and pages refreshing

This commit is contained in:
MihailRis
2024-03-22 18:48:09 +03:00
parent c457bdb293
commit 06efdac106
5 changed files with 33 additions and 8 deletions
+7
View File
@@ -9,6 +9,13 @@ function on_open()
"onclick='core.open_world(\""..name.."\")'"..
">"..
"<label pos='8,8'>"..name.."</label>"..
"<button pos='330,3' "..
"color='#00000000' "..
"hover-color='#FFFFFF2B' "..
"padding='2,2,2,2' "..
"onclick='core.delete_world(\""..name.."\")'>"..
"<image src='gui/delete_icon' size='32,32' color='#FFFFFF80'/>"..
"</button>"..
"</container>"
)
end