diff --git a/README.md b/README.md index 23f8c695..e94314d3 100644 --- a/README.md +++ b/README.md @@ -541,4 +541,8 @@ const mindMap = new MindMap({ Xavier + + + :) +

diff --git a/simple-mind-map/src/plugins/AssociativeLine.js b/simple-mind-map/src/plugins/AssociativeLine.js index 3bab80f2..669e8e9e 100644 --- a/simple-mind-map/src/plugins/AssociativeLine.js +++ b/simple-mind-map/src/plugins/AssociativeLine.js @@ -370,6 +370,18 @@ class AssociativeLine { '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 }) + } } // 激活某根关联线 diff --git a/web/src/assets/avatar/冒号括号.png b/web/src/assets/avatar/冒号括号.png new file mode 100644 index 00000000..7fad315d Binary files /dev/null and b/web/src/assets/avatar/冒号括号.png differ