diff --git a/README.md b/README.md index af4a7869..9e56da67 100644 --- a/README.md +++ b/README.md @@ -318,6 +318,13 @@ const mindMap = new MindMap({ 御风 + + + +
+ 兔子快跑 +
+ @@ -915,5 +922,12 @@ const mindMap = new MindMap({ Sword + + + +
+ 好好先生Ervin +
+ \ No newline at end of file diff --git a/simple-mind-map/src/core/render/node/MindMapNode.js b/simple-mind-map/src/core/render/node/MindMapNode.js index d2fa60fb..7bcc08c9 100644 --- a/simple-mind-map/src/core/render/node/MindMapNode.js +++ b/simple-mind-map/src/core/render/node/MindMapNode.js @@ -448,6 +448,10 @@ class MindMapNode { this.group.clear() const { hoverRectPadding, tagPosition, openRealtimeRenderOnNodeTextEdit } = this.mindMap.opt + // 避免编辑过程中展开收起按钮闪烁的问题 + if (openRealtimeRenderOnNodeTextEdit && this._expandBtn) { + this.group.add(this._expandBtn) + } let { width, height, textContentItemMargin } = this let { paddingY } = this.getPaddingVale() const halfBorderWidth = this.getBorderWidth() / 2 diff --git a/web/src/assets/avatar/兔子快跑.jpg b/web/src/assets/avatar/兔子快跑.jpg new file mode 100644 index 00000000..206febb6 Binary files /dev/null and b/web/src/assets/avatar/兔子快跑.jpg differ diff --git a/web/src/assets/avatar/好好先生Ervin.jpg b/web/src/assets/avatar/好好先生Ervin.jpg new file mode 100644 index 00000000..6073e457 Binary files /dev/null and b/web/src/assets/avatar/好好先生Ervin.jpg differ