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.

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