Edits
This commit is contained in:
@@ -98,8 +98,8 @@ func _eval_expression(input: String) -> String:
|
|||||||
|
|
||||||
func _show_result(text: String) -> void:
|
func _show_result(text: String) -> void:
|
||||||
result_label.text = text
|
result_label.text = text
|
||||||
if _result_tween and _result_tween.is_valid():
|
# if _result_tween and _result_tween.is_valid():
|
||||||
_result_tween.kill()
|
# _result_tween.kill()
|
||||||
_result_tween = create_tween()
|
# _result_tween = create_tween()
|
||||||
_result_tween.tween_interval(2.0)
|
# _result_tween.tween_interval(2.0)
|
||||||
_result_tween.tween_callback(func(): result_label.text = "")
|
# _result_tween.tween_callback(func(): result_label.text = "")
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ func run(args: Array, context: Dictionary) -> String:
|
|||||||
var registry: Array = context["scene_registry"]
|
var registry: Array = context["scene_registry"]
|
||||||
for entry: Dictionary in registry:
|
for entry: Dictionary in registry:
|
||||||
if entry["name"].to_lower() == search_name:
|
if entry["name"].to_lower() == search_name:
|
||||||
var debug_menu: Node = context["debug_menu"]
|
var debug_menu: DebugMenu = context["debug_menu"]
|
||||||
debug_menu.swap_scene(entry)
|
debug_menu.swap_scene(entry)
|
||||||
return ""
|
return ""
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user