Skip to content

Commit d047091

Browse files
author
Victor
committed
fix: hide controller before create arrow
1 parent dcf130b commit d047091

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/arrow.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,7 @@ export const createArrow = function (this: MindElixirInstance, from: Topic, to:
330330
}
331331

332332
export const createArrowFrom = function (this: MindElixirInstance, arrow: Omit<Arrow, 'id'>) {
333+
hideLinkController(this)
333334
const arrowObj = { ...arrow, id: generateUUID() }
334335
drawArrow(this, this.findEle(arrowObj.from), this.findEle(arrowObj.to), arrowObj)
335336

0 commit comments

Comments
 (0)