Files
excalidraw/packages/element
dwelle 04f339062f fix: Restore the midpoint snap radius for simple arrows
Merging the snapping and render midpoint code applied the elbow arrow
size-based thresholds (clamp(0.05 * size, 5, maxDistance)) to simple
arrows too, shrinking their snap radius from ~16px to 5px on typical
shapes (and basing side midpoints on the width). Use the binding distance
as the radius again, as on master; the render highlight still comes from
the same function. Restores master's history/move test expectations.

Claude Opus 5.5 (1M context), low reasoning effort
2026-09-23 17:43:00 +02:00
..

@excalidraw/element

Install

npm install @excalidraw/element

If you prefer Yarn over npm, use this command to install the Excalidraw utils package:

yarn add @excalidraw/element

With PNPM, similarly install the package with this command:

pnpm add @excalidraw/element