diff --git a/java/src/com/android/inputmethod/keyboard/KeyboardView.java b/java/src/com/android/inputmethod/keyboard/KeyboardView.java index 721931e98..62696219b 100644 --- a/java/src/com/android/inputmethod/keyboard/KeyboardView.java +++ b/java/src/com/android/inputmethod/keyboard/KeyboardView.java @@ -888,6 +888,7 @@ public class KeyboardView extends View implements PointerTracker.DrawingProxy { super.onDraw(canvas); canvas.translate(mParams.mCoordinates[0], mParams.mCoordinates[1]); PointerTracker.drawGestureTrailForAllPointerTrackers(canvas, mGesturePaint); + canvas.translate(-mParams.mCoordinates[0], -mParams.mCoordinates[1]); } }