From 1d0746dde11230df34a8238a057d50cb57efb838 Mon Sep 17 00:00:00 2001 From: UniversePM Date: Wed, 26 Aug 2026 20:12:35 -0500 Subject: [PATCH] fix: maybe do this another time --- Minecraft.Client/Common/UI/UIController.cpp | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/Minecraft.Client/Common/UI/UIController.cpp b/Minecraft.Client/Common/UI/UIController.cpp index 2a219df3..13222db5 100644 --- a/Minecraft.Client/Common/UI/UIController.cpp +++ b/Minecraft.Client/Common/UI/UIController.cpp @@ -1047,22 +1047,6 @@ void UIController::handleKeyPress(unsigned int iPad, unsigned int key) pressed = true; down = true; } - - // Remap scroll wheel to navigation actions. Use LEFT/RIGHT when - // hovering a horizontal list (e.g. TexturePackList), UP/DOWN otherwise. - if (pressed && g_KBMInput.IsKBMActive()) - { - UIScene* pTopScene = GetTopScene(0); // using 0 as default pad for KBM - bool isJoinMenu = pTopScene && pTopScene->getSceneType() == eUIScene_JoinMenu; - - if (!isJoinMenu) - { - if (m_bMouseHoverHorizontalList) - key = (key == ACTION_MENU_OTHER_STICK_UP) ? ACTION_MENU_LEFT : ACTION_MENU_RIGHT; - else - key = (key == ACTION_MENU_OTHER_STICK_UP) ? ACTION_MENU_UP : ACTION_MENU_DOWN; - } - } } } #endif