Fix the bug that the first gesture preview trail isn't drawn
Change-Id: Ib3acd7c0b401e6d95b39552b48d0d974793eb438
This commit is contained in:
parent
a1a669a121
commit
5e3b93542d
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ class GesturePreviewTrail {
|
|||
private final ResizableIntArray mXCoordinates = new ResizableIntArray(DEFAULT_CAPACITY);
|
||||
private final ResizableIntArray mYCoordinates = new ResizableIntArray(DEFAULT_CAPACITY);
|
||||
private final ResizableIntArray mEventTimes = new ResizableIntArray(DEFAULT_CAPACITY);
|
||||
private int mCurrentStrokeId;
|
||||
private int mCurrentStrokeId = -1;
|
||||
private long mCurrentDownTime;
|
||||
|
||||
// Use this value as imaginary zero because x-coordinates may be zero.
|
||||
|
|
Loading…
Reference in a new issue