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

G6. There is a styling issue with Minimap #6350

Open
NidhoggDJoking opened this issue Sep 18, 2024 · 0 comments
Open

G6. There is a styling issue with Minimap #6350

NidhoggDJoking opened this issue Sep 18, 2024 · 0 comments

Comments

@NidhoggDJoking
Copy link

Describe the bug / 问题描述

G6.Minimap 存在样式问题,图形缩放至最小时 Minimap 的边框出现如图问题,Minimap 中viewport 边框 显示部分有差异

使用 G6.ImageMinimap 正常

1726645771078

Reproduction link / 重现链接

https://g6.antv.antgroup.com/examples/tool/minimap/#minimap

Steps to Reproduce the Bug or Issue / 重现步骤

No response

G6 Version / G6 版本

🆕 5.x

Operating System / 操作系统

Windows

Browser / 浏览器

Chrome

Additional context / 补充说明

.g6-minimap-viewport{
    transform: translate(-1px, -1px);
}

目前我是加入transform 这个才能正常的

@github-actions github-actions bot changed the title G6.Minimap 存在样式问题 G6. There is a styling issue with Minimap Sep 18, 2024
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

No branches or pull requests

1 participant