Skip to content

Commit

Permalink
Fire legend event only on mouseup
Browse files Browse the repository at this point in the history
  • Loading branch information
texodus committed Mar 9, 2022
1 parent c9a07ad commit 3eb0626
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ export function draggableComponent() {
pinned = isNodeInTopRight(node)
? pinNodeToTopRight(node)
: unpinNodeFromTopRight(node, pinned);
});

drag.on("end", function (event) {
viewer?.dispatchEvent(new Event("perspective-config-update"));
});

Expand Down

0 comments on commit 3eb0626

Please sign in to comment.