mirror of
https://github.com/storytold/photocraft.git
synced 2026-11-21 09:26:43 +00:00
Edit › Transform › Distort ignored its mid-edge handles: mode_allows rejected Hit::Edge in Distort, so a press there armed no gesture. As in Photoshop, a Distort side handle now moves its edge freely: both of that edge's corners move by the drag offset and the opposite edge stays put, stopping before the box folds flat (keep_convex), as a Distort corner does. Like the corner, it ignores Shift and Alt. The reference point keeps its place in the box. Preview and commit share the session quad, and the commit is one history step. Perspective mode's side handles now skew along their edge, as in Photoshop, by reusing the Skew-mode edge arm. Before, they scaled. The handle pointer follows: the distort pointer on Distort side handles and the skew pointer on Perspective side handles. Free Transform's plain side handles (scale) and its Cmd-drag (free edge move) are unchanged. Tests cover each edge's exact corner offsets, modifier independence, the collapse stop, a real pointer drag committed in one step with the pixels inside the shown quad, and Perspective edge slides. docs/ui-parity.md is updated. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>