Skip to content

Commit 3f7922d

Browse files
committed
Click an extra node to immediately make it a waypoint. #57
1 parent 8f9c401 commit 3f7922d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

web/src/common/draw_area/AreaControls.svelte

+4
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,10 @@
334334
on:dragstart={() => addNode(node)}
335335
on:drag={() => updateDrag(node)}
336336
on:dragend={finalizeDrag}
337+
on:click={() => {
338+
addNode(node);
339+
draggingExtraNode = false;
340+
}}
337341
zIndex={0}
338342
>
339343
<span

0 commit comments

Comments
 (0)