Fix:修复第一次创建关联线时,箭头颜色不正确的问题

This commit is contained in:
街角小林 2024-03-26 13:40:33 +08:00
parent e966e5d57c
commit bf9cb99441

View File

@ -339,6 +339,10 @@ class AssociativeLine {
dasharray: [6, 4]
})
.fill({ color: 'none' })
// 箭头
this.markerPath
.stroke({ color: associativeLineColor })
.fill({ color: associativeLineColor })
this.creatingLine.marker('end', this.marker)
}