Edits
This commit is contained in:
@@ -98,8 +98,8 @@ func _eval_expression(input: String) -> String:
|
||||
|
||||
func _show_result(text: String) -> void:
|
||||
result_label.text = text
|
||||
if _result_tween and _result_tween.is_valid():
|
||||
_result_tween.kill()
|
||||
_result_tween = create_tween()
|
||||
_result_tween.tween_interval(2.0)
|
||||
_result_tween.tween_callback(func(): result_label.text = "")
|
||||
# if _result_tween and _result_tween.is_valid():
|
||||
# _result_tween.kill()
|
||||
# _result_tween = create_tween()
|
||||
# _result_tween.tween_interval(2.0)
|
||||
# _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"]
|
||||
for entry: Dictionary in registry:
|
||||
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)
|
||||
return ""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user