mirror of
https://github.com/storytold/designcraft.git
synced 2026-10-26 11:16:50 -06:00
Direct Selection selects and drags a frame's content, the Selection tool drags it by the content grabber, and double-clicking a frame with content toggles between frame and content, alongside #84's text threading and canvas click counting. Conflicts: - crates/tools/src/select.rs: module doc keeps both paragraphs (ports, content). The frame/content toggle runs on the second press of a double click (Down with clicks 2, or a DoubleClick from the control channel), Selection tool only, after threading ports and the text-frame double-click, so those keep priority; the DoubleClick arm stays empty. Overlays keep the Drag::Place marquee and add the content ghost. - crates/tools/src/tests.rs: both sets of tests and fixtures kept; the graphic fixture sets Graphic::wrap; the double-click toggle test drives the click-count sequence and the DoubleClick form. - crates/engine/src/tests.rs: both sets of tests kept. - crates/engine/src/cmd/object.rs: both test modules kept.