Forbid mousescroll if dialog is dimmed

This commit is contained in:
Matthew Coppola committed 2024-12-04 21:23:21 -05:00
1 parent 49ee5b7efb
commit a2e362caea
1 file changed
+1 -1
+1 -1
View File
@@ -4539,7 +4539,7 @@ void dialogTick(struct menudialog *dialog, struct menuinputs *inputs, u32 tickfl
if ((dialog->focuseditem->flags & MENUITEMFLAG_00010000) == 0) {
#ifndef PLATFORM_N64
if (g_MenuUsingMouse) {
if (g_MenuUsingMouse && !dialog->dimmed) {
dstscroll = dialog->dstscroll - inputs->mousescroll * LINEHEIGHT;
} else
#endif