antvis/G6

star updateLinkPoints 方法在更新link-point-right-bottom时有误 #3593

zylking posted onGitHub

Describe the bug

var markRightBottom = group['shapeMap']['link-point-left-bottom'] || group.find(function (element) { return element.get('className') === 'link-point-right-bottom'; });

if (markRightBottom) { if (!rightBottom && rightBottom !== undefined) { markLeftBottom.remove(); delete group['shapeMap']['link-point-right-bottom']; } else { markRightBottom.attr(assign(assign({}, styles), { x: x, y: -y })); } }

Your Example Website or App

no

Steps to Reproduce the Bug or Issue

1.可以先全部显示star的linkPoints 2.在全部隐藏即可发现问题

Expected behavior

这里就不写了

Screenshots or Videos

No response

Platform

  • OS: [e.g. macOS, Windows, Linux]
  • Browser: [e.g. Chrome, Safari, Firefox]
  • Version: [e.g. 4.6.1] 很多版本都有这个问题

Additional context

No response


Fund this Issue

$0.00
Funded

Pull requests