mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-29 17:15:41 +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
|
extends Control
|
||||||
|
|
||||||
var content = null
|
var content = null
|
||||||
|
@onready var custom_theme: Theme = get_tree().current_scene.custom_theme
|
||||||
|
|
||||||
func _ready():
|
func _ready():
|
||||||
|
$".".theme = custom_theme
|
||||||
if (content != null):
|
if (content != null):
|
||||||
$Panel/MarginContainer/VBoxContainer/ContentContainer/MarginContainer.add_child(content)
|
$Panel/MarginContainer/VBoxContainer/ContentContainer/MarginContainer.add_child(content)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue