ajout menu info

This commit is contained in:
2025-03-26 00:39:39 +01:00
parent b2567844fc
commit 009ed8edc3
6 changed files with 117 additions and 8 deletions

View File

@@ -92,7 +92,7 @@ void SettingsKeybindsAppMenu::drawFrame() const {
}
int i = 0;
int firstElem = std::clamp(((int) this->playerCursor.getPosition().y) - 1, 0, 8);
int firstElem = std::clamp(((int) this->playerCursor.getPosition().y) - 2, 0, 8);
for (Action action : ACTION_LIST_IN_ORDER) {
if (i >= firstElem && i < (firstElem + 3)) {