We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94a4d60 commit 5ba3c30Copy full SHA for 5ba3c30
addons/block_code/block_code_plugin.gd
@@ -61,9 +61,7 @@ func _enter_tree():
61
func script_window_requested(script: String):
62
var script_window = ScriptWindow.instantiate()
63
script_window.script_content = script
64
-
65
- EditorInterface.get_base_control().add_child(script_window)
66
+ EditorInterface.popup_dialog(script_window)
67
await script_window.close_requested
68
69
script_window.queue_free()
addons/block_code/ui/script_window/script_window.gd
@@ -7,7 +7,6 @@ var script_content: String = ""
7
8
9
func _ready():
10
- popup_centered()
11
script_label.text = script_content.replace("\t", " ")
12
13
0 commit comments