summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xsrc/com/android/gallery3d/ui/PhotoView.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/android/gallery3d/ui/PhotoView.java b/src/com/android/gallery3d/ui/PhotoView.java
index 347d4b3af..b77d4bf0a 100755
--- a/src/com/android/gallery3d/ui/PhotoView.java
+++ b/src/com/android/gallery3d/ui/PhotoView.java
@@ -1152,6 +1152,8 @@ public class PhotoView extends GLView {
if (mIgnoreScalingGesture) {
return true;
}
+ // We ignore other scale begin notification if film mode has been changed.
+ if (mModeChanged) return true;
mPositionController.beginScale(focusX, focusY);
// We can change mode if we are in film mode, or we are in page
// mode and at minimal scale.