From e776c55a2b00c4b07c98f3b69afdc73ab488e9e2 Mon Sep 17 00:00:00 2001 From: SevenToaster509 Date: Mon, 27 Apr 2026 18:35:18 +0100 Subject: [PATCH] feat: change achievement description bind went from TAB to RIGHT CLICK --- .../Common/UI/UIScene_AchievementsMenu.cpp | 34 ++++++++++++++----- 1 file changed, 26 insertions(+), 8 deletions(-) diff --git a/Minecraft.Client/Common/UI/UIScene_AchievementsMenu.cpp b/Minecraft.Client/Common/UI/UIScene_AchievementsMenu.cpp index 5006ca8b..91c864f9 100644 --- a/Minecraft.Client/Common/UI/UIScene_AchievementsMenu.cpp +++ b/Minecraft.Client/Common/UI/UIScene_AchievementsMenu.cpp @@ -125,17 +125,35 @@ void UIScene_AchievementsMenu::handleInput(int iPad, int key, bool repeat, bool break; case ACTION_MENU_Y: if (pressed) { - showDescription = !showDescription; + if (!g_KBMInput.IsKBMActive()) { + showDescription = !showDescription; - if (showDescription) { - SetAchievementDescription(app.GetString(Achievements::achievements->at(m_achievementsList.m_iCurrentSelection - 1)->descID)); - } - else { - SetAchievementDescription(L""); + if (showDescription) { + SetAchievementDescription(app.GetString(Achievements::achievements->at(m_achievementsList.m_iCurrentSelection - 1)->descID)); + } + else { + SetAchievementDescription(L""); + } } + sendInputToMovie(key, repeat, pressed, released); + handled = true; + } + break; + case ACTION_MENU_X: + if (pressed) { + if (g_KBMInput.IsKBMActive()) { + showDescription = !showDescription; + + if (showDescription) { + SetAchievementDescription(app.GetString(Achievements::achievements->at(m_achievementsList.m_iCurrentSelection - 1)->descID)); + } + else { + SetAchievementDescription(L""); + } + } + sendInputToMovie(key, repeat, pressed, released); + handled = true; } - sendInputToMovie(key, repeat, pressed, released); - handled = true; break; case ACTION_MENU_UP: if (pressed) {