-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Fix a regression in wrap with fixed anchor
#9326
Conversation
requires a unit test |
Build Stats
|
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.
nice catch
I was sure I saw it when I tested in fabricjs.com
unit test added, this is ready to go |
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.
looks fine,
the test tells nothing to me tho.
playwright?
I don't think we can't test everything with playwright. |
i think i know how i can improve the test to be more explicit on what we are testing |
YES!!! |
The test now is testing more clearly what is expecting. |
Motivation
This is a regression fix from v5.
During PR #8400 we changed a transform.originX/Y consumed before and after a custom function, with a version destructured.
The custom function gets transform in the arguments and can mutate the originX and originY, so we need to stick to use the values that are on the transform object.
closes #9258
Description
Changes
Gist
In Action