antvis/G6

【5.x】边选中有偏差 #6052

liyuhang0211 posted onGitHub

Describe the bug / 问题描述

设置交互['click-select'],点击边上的label,不能精准选中该边,偏差较大。

No response

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

No response

G6 Version / G6 版本

🆕 5.x

Operating System / 操作系统

Windows

Browser / 浏览器

Chrome

Additional context / 补充说明

No response


PixPin_2024-07-12_10-22-17 非平行边也会有偏差的

posted by liyuhang0211 9 months ago

分析原因是渲染引擎对于文本进入判定存在误差导致的

posted by Aarebecca 9 months ago

最新版本该问题已修复

posted by Aarebecca 6 months ago

Fund this Issue

$0.00
Funded

Pull requests