New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use .transform() instead of .setTransform() when rendering image or text #14483
Conversation
📦 Preview the website for this branch here: https://deploy-preview-14483--ol-site.netlify.app/. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mike-000 Thanks for this fix. I think what changes for users now is that postrender
needs to reset any transforms that prerender
sets. It would be good to test if this is indeed the case, and if so, add at least a paragraph in the release notes.
In most cases that would already been required - in |
May I get an update on this? We're still hoping this fix gets included in a future release. |
@mike-000 Thanks for this fix. Now that we've some backwards incompatible changes lined up already, could you maybe rebase this pull request and move the upgrade notes into the "backwards incompatible changes" section? Thanks in advance! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, @mike-000
@kevmcgrath - you may know this already, but we create a And the |
Fixes #14478
Allows rotated images and text, and line placement text to be displayed offset as expected following a context translate() or scale() in a prerender event. No rendering tests broken by this change.
Also fix similar issue in immediate renderer.