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: tooltip for multi view #6142

Merged
merged 1 commit into from Mar 21, 2024
Merged

fix: tooltip for multi view #6142

merged 1 commit into from Mar 21, 2024

Conversation

pearmini
Copy link
Member

close: #6130

  • 问题:多视图 tooltip 展示失败。
  • 原因:通过 style 获得 rect bbox 没有考虑 transform,会导致拾取不到。
  • 解决办法:通过 getGeometryBounds + transform 来获得真实的 bbox。

@coveralls
Copy link

Pull Request Test Coverage Report for Build 8370113610

Details

  • 7 of 7 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.02%) to 86.466%

Totals Coverage Status
Change from base Build 8354524575: 0.02%
Covered Lines: 10263
Relevant Lines: 11502

💛 - Coveralls

@pearmini pearmini merged commit 411e1f4 into v5 Mar 21, 2024
2 checks passed
@pearmini pearmini deleted the fix-tooltip-multiview branch March 21, 2024 07:44
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.

Tooltip is not displayed for the second view.
3 participants