correct node resizer control size for viewport zoom

This commit is contained in:
peterkogo
2025-06-10 16:39:51 +02:00
parent fee63db286
commit 9c2108f443
3 changed files with 14 additions and 5 deletions
@@ -121,6 +121,7 @@
bind:this={resizeControlRef}
style:border-color={variant === ResizeControlVariant.Line ? color : undefined}
style:background-color={variant === ResizeControlVariant.Line ? undefined : color}
style:--xy-view-zoom-inverse={1 / store.viewport.zoom}
{...rest}
>
{@render children?.()}