summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d/filtershow/filters/FilterDrawRepresentation.java
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
commit2fc7efdcd75279649091471dda3ee600db25a995 (patch)
treeae2aba8db0a064b3637d9941a6b0ba5c67594603 /src/com/android/gallery3d/filtershow/filters/FilterDrawRepresentation.java
parent8539fc1a5406af9edd5414fba3615cc045aa63ec (diff)
downloadandroid_packages_apps_Gallery2-2fc7efdcd75279649091471dda3ee600db25a995.tar.gz
android_packages_apps_Gallery2-2fc7efdcd75279649091471dda3ee600db25a995.tar.bz2
android_packages_apps_Gallery2-2fc7efdcd75279649091471dda3ee600db25a995.zip
fix draw and ellipse to handle pinch to zoom
Change-Id: I8af9b37dcd98425959742a4142756963363d1cec
Diffstat (limited to 'src/com/android/gallery3d/filtershow/filters/FilterDrawRepresentation.java')
-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();