Fix bug where key previews do not show up.
Bug: 6852705 Change-Id: Ib90107a5dde774b4d6c1e570629ce7f7eaff44bc
This commit is contained in:
parent
528738341d
commit
c022a9f8d4
1 changed files with 1 additions and 0 deletions
|
@ -888,6 +888,7 @@ public class KeyboardView extends View implements PointerTracker.DrawingProxy {
|
||||||
super.onDraw(canvas);
|
super.onDraw(canvas);
|
||||||
canvas.translate(mParams.mCoordinates[0], mParams.mCoordinates[1]);
|
canvas.translate(mParams.mCoordinates[0], mParams.mCoordinates[1]);
|
||||||
PointerTracker.drawGestureTrailForAllPointerTrackers(canvas, mGesturePaint);
|
PointerTracker.drawGestureTrailForAllPointerTrackers(canvas, mGesturePaint);
|
||||||
|
canvas.translate(-mParams.mCoordinates[0], -mParams.mCoordinates[1]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue