antvis/G6
The issue has been closed
labelCfg.style.background.padding of edge, while set value like [10,20,10,20], the position is not right. #3274
NameIsYearMonthDay posted onGitHub
- I have searched the issues of this repository and believe that this is not a duplicate.
Wrong location
@antv\g6-core\lib\element\edge.js
line 249
"x: bbox.minX - padding[2]" maybe "x: bbox.minX - padding[3]"
Environment | Info |
---|---|
g6 | 4.3.4 |
System | - |
Browser | - |
You may need to check padding of other items
<!-- generated by antv-issue-helper. DO NOT REMOVE -->