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

Commit a2a4c9a9 authored by John Hoford's avatar John Hoford
Browse files

Do not add crop into preset if in inital setup

bug:7417545
Change-Id: I355936645e555e3d6b950923af301b437570dd93
parent 4164fabf
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();
    }