On branch feat/godot-configurator

Changes to be committed:
	modified:   tools/configurator/components/popup.gd
This commit is contained in:
monkeyx-net 2024-07-28 19:48:24 +01:00
parent 5107d330ce
commit 58f0d2f283

View file

@ -1,8 +1,10 @@
extends Control
var content = null
@onready var custom_theme: Theme = get_tree().current_scene.custom_theme
func _ready():
$".".theme = custom_theme
if (content != null):
$Panel/MarginContainer/VBoxContainer/ContentContainer/MarginContainer.add_child(content)