From 64e479b1a5186c60ac35ecaee1ea167b8131e7aa Mon Sep 17 00:00:00 2001 From: Adrian Schmid Date: Sat, 12 Aug 2023 11:28:23 +0200 Subject: [PATCH] pressing ui left now works as expected --- src/logic-scenes/board/card-board.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/logic-scenes/board/card-board.gd b/src/logic-scenes/board/card-board.gd index 91eb564..109d303 100644 --- a/src/logic-scenes/board/card-board.gd +++ b/src/logic-scenes/board/card-board.gd @@ -266,7 +266,7 @@ func _input(event): elif event.is_action_pressed("ui_left"): # left to switch context to the left active_context -= 1 - if active_context < -1: + if active_context <= -1: active_context = ui_context.POST_IT_LIST elif event.is_action_pressed("ui_right"): # right to switch context to the right