Files
deckcraft/crates
FaabyyandClaude 92df608e54 Canvas: resizing snaps the edge being dragged (#961)
snap_resize ran snap_rect on the whole box, which looks at all three
edges on each axis and takes the nearest line. A fixed edge already on a
line (distance 0) always won, so the dragged edge never snapped; a fixed
edge near a line moved the dragged edge by its own distance. Resizing now
looks only at the dragged edges (snap_edges), also for the grid fallback.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-18 19:54:54 +00:00
..
2026-10-14 14:31:01 -04:00
2026-10-17 15:52:54 +02:00