feat: highlight possible sockets when dragging edge

Closes #14
This commit is contained in:
2026-02-07 15:50:06 +01:00
parent 43a3c54838
commit 8ad9e5535c
3 changed files with 22 additions and 40 deletions

View File

@@ -265,7 +265,7 @@ export class MouseEventManager {
}
}
if (_socket && smallestDist < 0.9) {
if (_socket && smallestDist < 1.5) {
this.state.mousePosition = _socket.position;
this.state.hoveredSocket = _socket;
} else {