Skip to content

respect selected transform position#16665

Merged
brandonkelly merged 3 commits into4.xfrom
bugfix/16648-image-transform-position
Feb 11, 2025
Merged

respect selected transform position#16665
brandonkelly merged 3 commits into4.xfrom
bugfix/16648-image-transform-position

Conversation

@i-just
Copy link
Copy Markdown
Contributor

@i-just i-just commented Feb 10, 2025

Description

issue 1:
position (Default Focal Point) was not showing if you changed the transform mode to “fit”, but it was showing if you saved a “fit” mode transform and then edited it; the position dropdown should only be available for crop and letterbox transform modes;

issue 2:
because we had two position dropdowns in the markup (one for the “crop” mode, with “Default Focal Point” label, and one for the “letterbox” mode, with “Image Position” label), whatever was selected for the “letterbox” transform, was then overwritten by the hidden “crop” position value.

Related issues

#16648

@i-just i-just requested a review from brandonkelly February 10, 2025 11:28
@brandonkelly brandonkelly merged commit dc9d864 into 4.x Feb 11, 2025
@brandonkelly brandonkelly deleted the bugfix/16648-image-transform-position branch February 11, 2025 07:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants