optimize canvas redraw and batch Lua canvas operations

This commit is contained in:
Face
2025-09-09 19:47:21 +03:00
parent 72d4648ed1
commit 4b827d0692
3 changed files with 73 additions and 17 deletions

View File

@@ -136,7 +136,7 @@ func _exit_tree():
if background_panel and is_instance_valid(background_panel):
if background_panel.get_parent():
background_panel.get_parent().remove_child(background_panel)
background_panel.get_parent().remove_child.call_deferred(background_panel)
background_panel.queue_free()
if dev_tools and is_instance_valid(dev_tools):