From 9b03f6906e0944894c87445fb0dffa39ea87faf3 Mon Sep 17 00:00:00 2001 From: chicrobot Date: Sun, 26 Jul 2026 04:08:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E9=BC=A0=E6=A0=87=E6=8C=89?= =?UTF-8?q?=E9=94=AE=E6=A3=80=E6=B5=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/scenes/main_menu_scene.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scenes/main_menu_scene.py b/src/scenes/main_menu_scene.py index 9fb10cf..7b2a281 100644 --- a/src/scenes/main_menu_scene.py +++ b/src/scenes/main_menu_scene.py @@ -40,8 +40,8 @@ class MainMenuScene(BaseScene): def handle_event(self, event): if event.type == pygame.KEYDOWN: self.button_status = True - if event.type == pygame.KEYUP: - self.button_status = False + if event.type == pygame.MOUSEBUTTONDOWN: + self.button_status = True def __show(self, info, dest=(0, 0)): if not self.debug_status: