fix: allow wires to render outside the SVG viewport for better visibility
parent
9089705cfb
commit
a07d219a7d
|
|
@ -42,6 +42,7 @@ export const WireLayer: React.FC = () => {
|
||||||
left: 0,
|
left: 0,
|
||||||
width: '100%',
|
width: '100%',
|
||||||
height: '100%',
|
height: '100%',
|
||||||
|
overflow: 'visible', // Allow wires to render outside the SVG viewport (e.g. negative coords)
|
||||||
pointerEvents: 'auto', // Enable pointer events for control points
|
pointerEvents: 'auto', // Enable pointer events for control points
|
||||||
zIndex: 1, // Below components (which have zIndex: 2)
|
zIndex: 1, // Below components (which have zIndex: 2)
|
||||||
}}
|
}}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue