Fix swipe end location

Change-Id: I997ca30dc5399b36e13516c4aeadbdf6fa357df7
This commit is contained in:
Michael Wright
2013-07-22 13:58:45 -07:00
parent d55e18ecea
commit 77a2dabf01

View File

@@ -213,7 +213,7 @@ public class Input {
lerp(y1, y2, alpha), 1.0f);
now = SystemClock.uptimeMillis();
}
injectMotionEvent(inputSource, MotionEvent.ACTION_UP, now, x1, y1, 0.0f);
injectMotionEvent(inputSource, MotionEvent.ACTION_UP, now, x2, y2, 0.0f);
}
/**