Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 24f28850 authored by Nicolas Roard's avatar Nicolas Roard Committed by Android (Google) Code Review
Browse files

Merge "Do not add crop into preset if in inital setup" into gb-ub-photos-arches

parents 6106c833 a2a4c9a9
Loading
Loading
Loading
Loading
+7 −5
Original line number Diff line number Diff line
@@ -367,12 +367,14 @@ public abstract class ImageGeometry extends ImageSlave {
            getImagePreset().setGeometry(mLocalGeometry);
            resetImageCaches(this);
        } else {
            if (mLocalGeometry.hasModifications()) {
                ImagePreset copy = new ImagePreset(getImagePreset());
                copy.setGeometry(mLocalGeometry);
                copy.setHistoryName(getName());
                copy.setIsFx(false);
                setImagePreset(copy, true);
            }
        }
        invalidate();
    }