mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-22 14:05:39 +00:00
On branch feat/godot-configurator
Changes to be committed: modified: tools/configurator/components/popup.gd
This commit is contained in:
parent
5107d330ce
commit
58f0d2f283
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue