From f473265df79fe5aed19ac0b0ac5f8e6ebf188342 Mon Sep 17 00:00:00 2001 From: Matteo Benedetto Date: Mon, 23 Dec 2024 16:42:30 +0100 Subject: [PATCH] Aggiorna la gestione dei tasti rilasciati nella classe KeyBindings per includere tasti aggiuntivi --- engine/controls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/controls.py b/engine/controls.py index ef4bb57..fb59d13 100644 --- a/engine/controls.py +++ b/engine/controls.py @@ -37,7 +37,7 @@ class KeyBindings: # self.pointer = adjusted_coords # self.scroll_cursor() def key_released(self, key): - if key in ["Up", "Down", "Left", "Right"]: + if key in ["Up", "Down", "Left", "Right", 8, 9, 10, 11]: self.stop_scrolling() def start_scrolling(self, direction):