summaryrefslogtreecommitdiffstats
path: root/src/com
diff options
context:
space:
mode:
Diffstat (limited to 'src/com')
-rw-r--r--src/com/android/gallery3d/filtershow/imageshow/ImageRotate.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/gallery3d/filtershow/imageshow/ImageRotate.java b/src/com/android/gallery3d/filtershow/imageshow/ImageRotate.java
index 90bbeaacd..a4131ff80 100644
--- a/src/com/android/gallery3d/filtershow/imageshow/ImageRotate.java
+++ b/src/com/android/gallery3d/filtershow/imageshow/ImageRotate.java
@@ -75,7 +75,7 @@ public class ImageRotate extends ImageGeometry {
@Override
protected int getLocalValue() {
- return (int) getLocalRotation();
+ return constrainedRotation(snappedAngle(getLocalRotation()));
}
@Override