mirror of
https://github.com/lightsoutgames/godot-accessibility.git
synced 2024-11-22 03:45:56 +00:00
Replace a couple print
calls with print_debug
.
This commit is contained in:
parent
d2e6b34c42
commit
6279f1a3c9
|
@ -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
|
||||||
|
|
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user