diff options
Diffstat (limited to 'src/com/android/gallery3d/ui/GLView.java')
-rw-r--r-- | src/com/android/gallery3d/ui/GLView.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/gallery3d/ui/GLView.java b/src/com/android/gallery3d/ui/GLView.java index 7491a6ffb..b4af9bcdd 100644 --- a/src/com/android/gallery3d/ui/GLView.java +++ b/src/com/android/gallery3d/ui/GLView.java @@ -229,7 +229,7 @@ public class GLView { int xoffset = component.mBounds.left - mScrollX; int yoffset = component.mBounds.top - mScrollY; - canvas.translate(xoffset, yoffset, 0); + canvas.translate(xoffset, yoffset); CanvasAnimation anim = component.mAnimation; if (anim != null) { @@ -243,7 +243,7 @@ public class GLView { } component.render(canvas); if (anim != null) canvas.restore(); - canvas.translate(-xoffset, -yoffset, 0); + canvas.translate(-xoffset, -yoffset); } protected boolean onTouch(MotionEvent event) { |