graf: disabled selection tool appearing when disabled

This commit is contained in:
Vašek Šraier 2020-10-04 12:55:43 +02:00
parent aeafbd07d5
commit 7116805d97

View file

@ -264,7 +264,7 @@
<GraphNode
{task}
on:mousedown={dragStart}
selected={selection.has(task)}
selected={selectionToolEnabled && selection.has(task)}
on:taskClick
on:click={nodeClick(task)}
on:hoveringChange={nodeHover(task)}