From 548e2c1f0bd2e871ac4e2ade1220cbf18e090709 Mon Sep 17 00:00:00 2001 From: fgsfds Date: Tue, 14 May 2024 21:06:16 +0200 Subject: [PATCH] port: only navigate with mouse if it's enabled in the dialog --- src/game/menu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game/menu.c b/src/game/menu.c index 68742bf24..f660a8bbf 100644 --- a/src/game/menu.c +++ b/src/game/menu.c @@ -1361,8 +1361,8 @@ bool dialogChangeItemFocusWithMouse(struct menudialog *dialog, s32 mx, s32 my) s32 curx, cury; s32 colwidth = 0; - // only allow mouse control of player 1 menus - if (menu->playernum != 0) { + // only allow mouse control of player 1 menus; ignore mouse if navigating with keyboard + if (menu->playernum != 0 || !dialog->usingmouse) { return false; }