mirror of
https://github.com/wanglin2/mind-map.git
synced 2026-02-21 10:27:44 +08:00
Fix:修复关联线设置激活样式时控制线条颜色没同步更新的问题
This commit is contained in:
parent
46e3d85b5f
commit
2822dcc99a
@ -541,4 +541,8 @@ const mindMap = new MindMap({
|
|||||||
<img src="./web/src/assets/avatar/Xavier.png" style="width: 50px;height: 50px;" />
|
<img src="./web/src/assets/avatar/Xavier.png" style="width: 50px;height: 50px;" />
|
||||||
<span>Xavier</span>
|
<span>Xavier</span>
|
||||||
</span>
|
</span>
|
||||||
|
<span>
|
||||||
|
<img src="./web/src/assets/avatar/冒号括号.png" style="width: 50px;height: 50px;" />
|
||||||
|
<span>:)</span>
|
||||||
|
</span>
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
@ -370,6 +370,18 @@ class AssociativeLine {
|
|||||||
'font-size': associativeLineTextFontSize + 'px'
|
'font-size': associativeLineTextFontSize + 'px'
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
if (this.controlLine1) {
|
||||||
|
this.controlLine1.stroke({ color: associativeLineActiveColor })
|
||||||
|
}
|
||||||
|
if (this.controlLine2) {
|
||||||
|
this.controlLine2.stroke({ color: associativeLineActiveColor })
|
||||||
|
}
|
||||||
|
if (this.controlPoint1) {
|
||||||
|
this.controlPoint1.stroke({ color: associativeLineActiveColor })
|
||||||
|
}
|
||||||
|
if (this.controlPoint2) {
|
||||||
|
this.controlPoint2.stroke({ color: associativeLineActiveColor })
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// 激活某根关联线
|
// 激活某根关联线
|
||||||
|
|||||||
BIN
web/src/assets/avatar/冒号括号.png
Normal file
BIN
web/src/assets/avatar/冒号括号.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 34 KiB |
Loading…
Reference in New Issue
Block a user