forked from Ports/perfect_dark
port: only navigate with mouse if it's enabled in the dialog
This commit is contained in:
1 parent
85872d7e71
commit
548e2c1f0b
1 file changed
+2
-2
+2
-2
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user