Add more logging to input handling
This commit is contained in:
parent
e1ed4b8378
commit
7d01a8fd13
1 changed files with 2 additions and 0 deletions
|
@ -49,8 +49,10 @@ func _process(_delta: float) -> void:
|
|||
DisplayServer.WindowMode.WINDOW_MODE_WINDOWED: DisplayServer.window_set_mode(DisplayServer.WindowMode.WINDOW_MODE_FULLSCREEN)
|
||||
_: DisplayServer.window_set_mode(DisplayServer.WindowMode.WINDOW_MODE_WINDOWED)
|
||||
if Input.is_action_just_pressed("navigate_forwards"):
|
||||
logger.diag("Navigating to next slide")
|
||||
switch_slide(current_slide + 1)
|
||||
if Input.is_action_just_pressed("navigate_backwards"):
|
||||
logger.diag("Navigating to previous slide")
|
||||
switch_slide(current_slide - 1)
|
||||
|
||||
func _update_variables() -> void:
|
||||
|
|
Loading…
Reference in a new issue