Replace a couple print calls with print_debug.

This commit is contained in:
Nolan Darilek 2020-05-17 18:18:18 -05:00
parent d2e6b34c42
commit 6279f1a3c9
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ func get_siblings():
return null return null
func click(item := node, button_index = BUTTON_LEFT): func click(item := node, button_index = BUTTON_LEFT):
print("Click") print_debug("Click")
var click = InputEventMouseButton.new() var click = InputEventMouseButton.new()
click.button_index = button_index click.button_index = button_index
click.pressed = true click.pressed = true

View File

@ -207,6 +207,6 @@ func _process(delta):
if focus_restore_timer and focus_restore_timer.time_left <= 0: if focus_restore_timer and focus_restore_timer.time_left <= 0:
var focus = find_focusable_control(get_tree().root) var focus = find_focusable_control(get_tree().root)
if focus and not focus.get_focus_owner(): if focus and not focus.get_focus_owner():
print("Restoring focus.") print_debug("Restoring focus.")
focus.grab_focus() focus.grab_focus()
focus.grab_click_focus() focus.grab_click_focus()