mirror of
https://github.com/celisej567/mcpe.git
synced 2026-09-11 20:11:18 +03:00
@@ -50,14 +50,14 @@ void Multitouch::feed(MouseButtonType a1, bool a2, int a3, int a4, int fingerId)
|
||||
MouseDevice* pDevice = g(fingerId);
|
||||
pDevice->feed(a1, a2, a3, a4);
|
||||
|
||||
if (a1)
|
||||
if (a1 != BUTTON_NONE)
|
||||
{
|
||||
if (a2)
|
||||
{
|
||||
_wasPressed[fingerId] = true;
|
||||
_wasPressedThisUpdate[fingerId] = true;
|
||||
}
|
||||
else if (a2 == 0)
|
||||
else
|
||||
{
|
||||
_wasReleased[fingerId] = true;
|
||||
_wasReleasedThisUpdate[fingerId] = true;
|
||||
|
||||
Reference in New Issue
Block a user