Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BUGFIX] Fix cropScale calculation in ImageProcessingInstructions
While refactoring the cropping information calculation in September 2023 by Benni Mack, the cropWidth / cropHeight and the offsets were set to the wrong constructor arguments. The patch reverses the order of the constructor of the CropArea object. Resolves: #103330 Related: #101957 Releases: main Change-Id: I74b3b5fed604962b323e1017cf66695eb11d0a92 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/83298 Reviewed-by: Simon Praetorius <simon@praetorius.me> Reviewed-by: Benni Mack <benni@typo3.org> Tested-by: Benjamin Franzke <ben@bnf.dev> Reviewed-by: Benjamin Franzke <ben@bnf.dev> Tested-by: Benni Mack <benni@typo3.org> Tested-by: Simon Praetorius <simon@praetorius.me> Tested-by: core-ci <typo3@b13.com>
- Loading branch information
Showing
4 changed files
with
6 additions
and
14 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
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