KamoCRM

Stabilize connection line physics and mouse proximity

Fixkamo-internal
Shipped
4 பிப்ரவரி, 2026 அன்று 9:33 PM UTC
Author
kamo
Commit
03f4121

- Only apply mouse proximity force after mouse has moved (avoids 0,0 affecting lines on load) - Guard mouse position with Number.isFinite before use - Clamp control point velocity to 400 to prevent runaway physics - Sanitize all physics point coords/velocity: reset to target if NaN/Infinity - Prevents lines from flying off or breaking when values blow up

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing