diff options
Diffstat (limited to 'src/com/android/gallery3d/filtershow/editors/EditorDraw.java')
-rw-r--r-- | src/com/android/gallery3d/filtershow/editors/EditorDraw.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/gallery3d/filtershow/editors/EditorDraw.java b/src/com/android/gallery3d/filtershow/editors/EditorDraw.java index 907d1083e..aa5ec61e8 100644 --- a/src/com/android/gallery3d/filtershow/editors/EditorDraw.java +++ b/src/com/android/gallery3d/filtershow/editors/EditorDraw.java @@ -121,8 +121,8 @@ public class EditorDraw extends Editor { ImageDraw idraw = (ImageDraw) mImageShow; idraw.setStyle(ImageFilterDraw.SIMPLE_STYLE); } else if (item.getItemId() == R.id.draw_menu_clear) { - FilterDrawRepresentation drawRep = (FilterDrawRepresentation) getLocalRepresentation(); - drawRep.clear(); + ImageDraw idraw = (ImageDraw) mImageShow; + idraw.resetParameter(); commitLocalRepresentation(); } mView.invalidate(); |