summaryrefslogtreecommitdiffstats
path: root/src/com
diff options
context:
space:
mode:
authorJohn Hoford <hoford@google.com>2013-02-21 15:18:37 -0800
committerJohn Hoford <hoford@google.com>2013-02-21 15:19:49 -0800
commit304e05b54abfa5e3ba4c366ce6bffae78b5133fd (patch)
treeade21462e6261492502afebc02ed3995c6657974 /src/com
parentf72cda8e943fb68c80f2f5f5e34b8d97b42b6364 (diff)
downloadandroid_packages_apps_Snap-304e05b54abfa5e3ba4c366ce6bffae78b5133fd.tar.gz
android_packages_apps_Snap-304e05b54abfa5e3ba4c366ce6bffae78b5133fd.tar.bz2
android_packages_apps_Snap-304e05b54abfa5e3ba4c366ce6bffae78b5133fd.zip
fix draw and ellipse to handle pinch to zoom
Change-Id: I8af9b37dcd98425959742a4142756963363d1cec
Diffstat (limited to 'src/com')
-rw-r--r--src/com/android/gallery3d/filtershow/filters/FilterDrawRepresentation.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/com/android/gallery3d/filtershow/filters/FilterDrawRepresentation.java b/src/com/android/gallery3d/filtershow/filters/FilterDrawRepresentation.java
index e41f0a622..8b8504bbc 100644
--- a/src/com/android/gallery3d/filtershow/filters/FilterDrawRepresentation.java
+++ b/src/com/android/gallery3d/filtershow/filters/FilterDrawRepresentation.java
@@ -150,6 +150,10 @@ public class FilterDrawRepresentation extends FilterRepresentation {
mCurrent = null;
}
+ public void clearCurrentSection() {
+ mCurrent = null;
+ }
+
public void clear() {
mCurrent = null;
mDrawing.clear();