Skip to content

fix(canvas): snap resize edges only along dragged axes - #163

Merged
Limdongcheng merged 1 commit into
mainfrom
fix/snap-resize-small-objects
Nov 2, 2026
Merged

Limdongcheng merged 1 commit into
mainfrom
fix/snap-resize-small-objects

Conversation

@Limdongcheng

Copy link
Copy Markdown
Collaborator

Summary

Pressing a resize handle no longer changes an object or Panel through snapping. An edge now joins resize snapping once the pointer has moved more than 5 screen px along its axis, and stays in for the rest of the drag. Snapping now skips targets below the drag's own floor rather than a flat 24 pt, so thin objects can snap on their short edge, and aspect-locked content can snap its short edge below 24 pt while its long edge stays at 24 pt or more. Plot and Panel minimums still apply after snapping. A guide shows only when the aspect-locked frame lands on it.

Validation

  • cargo pr-check

@Limdongcheng
Limdongcheng merged commit 93c1bb0 into main Nov 2, 2026
11 checks passed
@Limdongcheng
Limdongcheng deleted the fix/snap-resize-small-objects branch November 2, 2026 02:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant