another recommit

This commit is contained in:
ethxnblxd 2026-03-20 21:21:30 +08:00
parent dc98d89d5c
commit 299e5380c1
2 changed files with 3 additions and 4 deletions

View file

@ -1546,7 +1546,7 @@ void Minecraft::run_middle()
wasDown = down;
if(g_KBMInput.IsKeyPressed(KeyboardMouseInput::KEY_CRAFTING))
if(g_KBMInput.IsKeyPressed(KeyboardMouseInput::KEY_CRAFTING) || g_KBMInput.IsKeyPressed(KeyboardMouseInput::KEY_CRAFTING_ALT))
{
if((ui.IsSceneInStack(i, eUIScene_Crafting2x2Menu) || ui.IsSceneInStack(i, eUIScene_Crafting3x3Menu) || ui.IsSceneInStack(i, eUIScene_CreativeMenu) || isClosableByEitherKey) && !isEditing)
{

View file

@ -23,8 +23,8 @@ public:
static const int KEY_SPRINT = VK_CONTROL;
static const int KEY_INVENTORY = 'E';
static const int KEY_DROP = 'Q';
static const int KEY_CRAFTING = 'R';
static const int KEY_ZOOM = 'C';
static const int KEY_CRAFTING = 'C';
static const int KEY_CRAFTING_ALT = 'R';
static const int KEY_CHAT = 'T';
static const int KEY_SLASHCOMMANDCHAT = VK_OEM_2;
static const int KEY_CONFIRM = VK_RETURN;
@ -40,7 +40,6 @@ public:
// todo: implement and shi
static const int KEY_SCREENSHOT = VK_F2;
static const int KEY_PICKBLOCK = MOUSE_MIDDLE;
void Init();
void Tick();