fix: allow wires to render outside the SVG viewport for better visibility

pull/10/head
David Montero Crespo 2026-03-08 18:48:48 -03:00
parent 9089705cfb
commit a07d219a7d
1 changed files with 1 additions and 0 deletions

View File

@ -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)
}} }}