mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-06-08 03:52:55 +00:00
Prevent world input from affecting inventory (#354)
This commit is contained in:
parent
f870ef2a10
commit
d31d261ffd
|
|
@ -33,6 +33,11 @@ UIScene_AbstractContainerMenu::UIScene_AbstractContainerMenu(int iPad, UILayer *
|
||||||
m_bHasMousePosition = false;
|
m_bHasMousePosition = false;
|
||||||
m_lastMouseX = 0;
|
m_lastMouseX = 0;
|
||||||
m_lastMouseY = 0;
|
m_lastMouseY = 0;
|
||||||
|
|
||||||
|
for (int btn = 0; btn < 3; btn++)
|
||||||
|
{
|
||||||
|
KMInput.ConsumeMousePress(btn);
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue