We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78ebf15 commit 6022d30Copy full SHA for 6022d30
1 file changed
src/mouse.ts
@@ -348,6 +348,7 @@ export default function (mind: MindElixirInstance) {
348
// Delay here to wait and see if the user is actually panning.
349
// If so, cancel the context menu.
350
if (mind.panHelper.moved) return
351
+ if (mind.ptState !== State.Idle && mind.ptState !== State.Pan) return
352
const target = e.target as HTMLElement
353
if (isTopic(target) && !target.classList.contains('selected')) {
354
mind.selectNode(target)
0 commit comments