leafer-ui icon indicating copy to clipboard operation
leafer-ui copied to clipboard

Arrow元素编辑线跟Line元素不一致的问题

Open Han-JuZhongRen opened this issue 4 months ago • 3 comments

Line元素和Arrow元素同时开启curve 和 启用编辑,在hover到元素上的时候,Line元素是的编辑框是跟随Line的曲线,但是Arrow的编辑框依然是线段连接的。

Han-JuZhongRen avatar Aug 15 '25 07:08 Han-JuZhongRen

谢谢反馈,下个版本修复一下,可以临时用这个方式:

Arrow.prototype.__drawPath = Arrow.prototype.__drawRenderPath (箭头hover的时候调用的是__drawPath)

不过也会有点瑕疵。

leaferjs avatar Aug 15 '25 07:08 leaferjs

ok,这样可以了。这样可以先使用了,等后面修复。

Han-JuZhongRen avatar Aug 15 '25 08:08 Han-JuZhongRen

已修复,等待新版本发布~

leaferjs avatar Aug 25 '25 13:08 leaferjs