Skip to content
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(transform): fix invTransform may not be reset when updating transform #1011

Merged
merged 1 commit into from May 15, 2023

Conversation

plainheart
Copy link
Collaborator

@plainheart plainheart commented May 14, 2023

Resolves apache/echarts#18412. See apache/echarts#18625 for the test case.

When checking the hovering target, the Transformable#transformCoordToLocal function will be used in the Displayable#rectContain function.

But in the Transformable#updateTransform function, the invTransform is not reset when the transform is set to the identity matrix, which may result in a wrong local coordinate.

@plainheart plainheart merged commit 1e27245 into master May 15, 2023
1 check passed
@plainheart plainheart deleted the fix-transform branch May 15, 2023 00:36
Ovilia added a commit that referenced this pull request Jan 23, 2024
Ovilia added a commit that referenced this pull request Jan 24, 2024
fix: fix lint problems and add ci workflow; invTransform NPE due to #1011
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.

[Bug] (pie): incorrect response area of pie piece when applied selectedOffset
2 participants