implement noWheelClass, noPanClass, noDragClass

This commit is contained in:
peterkogo
2025-04-29 19:03:09 +02:00
parent 86211fa753
commit fddd4be6f8
8 changed files with 39 additions and 9 deletions
@@ -56,7 +56,7 @@
{#if store.selectionRectMode === 'nodes' && bounds && isNumeric(bounds.x) && isNumeric(bounds.y)}
<div
class="svelte-flow__selection-wrapper nopan"
class={['svelte-flow__selection-wrapper', store.noPanClass]}
style:width={toPxString(bounds.width)}
style:height={toPxString(bounds.height)}
style:transform="translate({bounds.x}px, {bounds.y}px)"