fix: do nothing when pressing 7 (prev) on the 1st page of a menu (#1127)

This commit is contained in:
Erik Bročko
2025-11-24 02:56:17 +01:00
committed by GitHub
parent ff298368c2
commit edb0872c70

View File

@@ -108,9 +108,12 @@ public abstract class BaseMenuInstance : IMenuInstance
return;
}
if (key == 7 && HasPrevButton)
if (key == 7)
{
if (HasPrevButton)
{
PrevPage();
}
return;
}