Browse Source

graf: disabled selection tool appearing when disabled

mj-deploy
Vašek Šraier 4 years ago
parent
commit
7116805d97
  1. 2
      frontend/src/Graph.svelte

2
frontend/src/Graph.svelte

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