Commit 385313da authored by zhuw's avatar zhuw Committed by Arne Coucheron

Fix custom filter don't work when first click after back to original

clear current filter representation when run back to original

Change-Id: Ib07479dcc87a3c99e30f15bb41fe04cade841007
CRs-Fixed: 2099190
parent de46c7f4
......@@ -2425,6 +2425,7 @@ public class FilterShowActivity extends AbstractPermissionActivity implements On
mMasterImage.setFusionUnderlay(null);
mMasterImage.resetTranslation();
mMasterImage.setScaleFactor(1);
mMasterImage.setCurrentFilterRepresentation(null);
ArrayList<FilterRepresentation> frList = FiltersManager.getManager().getTools();
for (FilterRepresentation fr : frList) {
if (fr instanceof FilterRotateRepresentation) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment