Sunday, July 28, 2024
1 change · saas-17.4
Enhancements to existing features
The website editor now automatically prepares certain shaped images as squares, making visual results more consistent. A new Stretch option lets users switch between a square crop and the original image proportions when relevant, while button visibility is kept accurate after image changes.
Original PR description
Specification: - Upon applying the first set of shapes to an image, the image ratio defaults to 1:1. - When a second set of shapes is applied, the image ratio reverts to its original dimensions (0:0). - A toggle button named "Stretch" should be present to switch between the 1:1 and 0:0 ratios. - The "Stretch" toggle button should only be visible when the first set of shapes has been applied. Before this PR: All shapes were applied maintaining the current ratio of the image. After this PR: Before the application of shapes, the image ratio is processed according to the specified default, and the "Stretch" toggle button is displayed as required. task-3678061