mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2026-06-17 06:10:58 +00:00
Don't process drags for the non-primary finger
This commit is contained in:
@@ -160,6 +160,11 @@ public class RelativeTouchContext implements TouchContext {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// The drag should only be processed for the primary finger
|
||||||
|
if (actionIndex != maxPointerCountInGesture - 1) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// Check if someone cancelled us
|
// Check if someone cancelled us
|
||||||
if (dragTimer == null) {
|
if (dragTimer == null) {
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user