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

Commit 78497220 authored by Nicolas Roard's avatar Nicolas Roard Committed by Android Git Automerger
Browse files

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

* commit '24f28850':
  Do not add crop into preset if in inital setup
parents c62b066a 24f28850
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();
    }