Skip to content

Commit 281769e

Browse files
committed
fix(mindmap): disable double-click to zoom
1 parent b12ae39 commit 281769e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/renderer/components/editor/mindmap/Mindmap.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ function init() {
3434
.markmap-node circle { fill: var(--color-bg); }
3535
`,
3636
})
37+
svgRef.value?.addEventListener('dblclick', e => e.stopPropagation(), true)
3738
update()
3839
}
3940

0 commit comments

Comments
 (0)