Files
designcraft/crates/engine
moppeeerandClaude Opus 5.5 8e0e6c2f2e feat(tools): resize a selected placed graphic by its own handles
With a placed graphic selected (Direct Selection, or the content
grabber), InDesign shows the graphic's own brown bounding box with eight
handles: dragging one resizes the image inside its frame (Shift keeps its
proportions, Alt from its centre) and leaves the frame as it is. LYH
Studio episode 14 does this at 2:46 to make the photo cover the page.

- tools: a content-handle hit test on the selected graphic's bounds
  (after the frame's anchors under Direct Selection), a ContentResize
  drag previewing `transform.set {content, bounds}`, the handle cursors,
  and the content ghost while dragging. The frame's handles don't resize
  the frame while its graphic is selected.
- engine: `transform.set` takes `bounds` for content: the graphic's new
  bounding box on the spread (normalized, never empty).
- canvas: the brown content box gets its handles; the frame's handles
  are hidden while the graphic is selected.

Builds on #415 (content selection and moves) and #550 (transform.set
on content).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 12:11:45 +02:00
..
2026-10-13 02:23:12 -04:00