From 58f0d2f28337ff1dd372f0c98851583af4157b19 Mon Sep 17 00:00:00 2001 From: monkeyx-net Date: Sun, 28 Jul 2024 19:48:24 +0100 Subject: [PATCH] On branch feat/godot-configurator Changes to be committed: modified: tools/configurator/components/popup.gd --- tools/configurator/components/popup.gd | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/configurator/components/popup.gd b/tools/configurator/components/popup.gd index 2fb6b9e4..9fb378dc 100644 --- a/tools/configurator/components/popup.gd +++ b/tools/configurator/components/popup.gd @@ -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)