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
+3 -3
View File
@@ -28,12 +28,12 @@
/* handle styles */
.xy-flow__resize-control.handle {
width: 4px;
height: 4px;
width: 5px;
height: 5px;
border: 1px solid #fff;
border-radius: 1px;
background-color: var(--xy-resize-background-color, var(--xy-resize-background-color-default));
transform: translate(-50%, -50%);
transform: translate(-50%, -50%) scale(max(var(--xy-view-zoom-inverse, 1), 1));
}
.xy-flow__resize-control.handle.left {