make sure elements are deselected once the selection starts

This commit is contained in:
peterkogo
2025-10-28 12:35:41 +01:00
parent f29adb8353
commit 7238977e7a
2 changed files with 3 additions and 0 deletions

View File

@@ -148,6 +148,7 @@
if (distance <= paneClickDistance) {
return;
}
store.unselectNodesAndEdges();
onselectionstart?.(event);
}