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): overflow #5802

Merged
merged 1 commit into from
Nov 16, 2023
Merged

fix(tooltip): overflow #5802

merged 1 commit into from
Nov 16, 2023

Conversation

pearmini
Copy link
Member

@pearmini pearmini commented Nov 16, 2023

close: #5789

  • 原因:displayObject.getRenderBounds 获得包围盒包含了内部溢出元素的大小,导致获得画布大小不准确。解决办法,如果是 rect 就直接根据宽高获得包围盒。
  • 说明:会有一些误差,所以截图会更新。更新案例都已经走查,没有问题。

image

@pearmini pearmini merged commit 44188f7 into v5 Nov 16, 2023
3 checks passed
@pearmini pearmini deleted the fix/tooltip-overflow branch November 16, 2023 05:04
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.

Series tooltip 在有元素超出绘制区域的时候,存在偏移
2 participants