mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2026-10-20 07:24:42 +00:00
Ignore movement from cancelled touches
This commit is contained in:
1 parent
0b2466cf26
commit
02bfa90417
1 file changed
+4
@@ -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
|
||||
|
||||
Reference in new issue
Block a user