-
-
Notifications
You must be signed in to change notification settings - Fork 314
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only pass crop values if cropping is enabled
Before we enabled cropping even if cropping was disabled only because we had crop values in the database. This is confusing, inconsistent and error prone. Imagine an essence picture having crop values, but the image cropper is disabled because the element settings has been changed. The image was still be cropped in those cases. Now cropping has to be explicitely enabled in the element settings to crop an image, regardless of the database state.
- Loading branch information
Showing
2 changed files
with
142 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters