mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2025-07-25 05:53:05 +00:00
Ignore movement from cancelled touches
This commit is contained in:
parent
0b2466cf26
commit
02bfa90417
@ -186,6 +186,10 @@ public class RelativeTouchContext implements TouchContext {
|
||||
@Override
|
||||
public boolean touchMoveEvent(int eventX, int eventY)
|
||||
{
|
||||
if (cancelled) {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (eventX != lastTouchX || eventY != lastTouchY)
|
||||
{
|
||||
// We only send moves and drags for the primary touch point
|
||||
|
Loading…
x
Reference in New Issue
Block a user