Commit Graph
4805 Commits
Author SHA1 Message Date
aiongg 8a30a026fe The anchor tools' empty-canvas part shows the tool's off-path cursor 2026-11-17 00:21:36 +00:00
aiongg 959927e686 rustfmt the crates round C changed 2026-11-17 00:18:07 +00:00
aiongg 400d9e9082 Merge branch 'red/t6c' into fw/mac1 2026-11-16 23:37:48 +00:00
aiongg a4570cb03c Merge branch 'red/t2c' into fw/mac1
# Conflicts:
#	crates/draw/src/ui/pen/curvature_mode.rs
2026-11-16 23:37:48 +00:00
aiongg 4b28aad62f Merge branch 'red/t3c' into fw/mac1 2026-11-16 23:37:38 +00:00
aiongg b747993c13 Merge branch 'red/lagc' into fw/mac1 2026-11-16 23:37:38 +00:00
Dylan M. Taylor 62145a3e63 psd: preserve PhotoCraft lenient TySh prefix parsing (#1923)
(cherry picked from commit 20220807a4)
2026-11-16 23:36:08 +00:00
aiongg 79a5564061 rustfmt the crates round B changed 2026-11-16 23:32:27 +00:00
aiongg 93bfcb46fe Pen: the knot a press acts on is named knot, so the snapped point at stays the new anchor's place 2026-11-16 23:32:16 +00:00
aiongg dd0c65a680 BezierOverlay: an open press declares and handles its parts from the paths it began on; Add and Delete Anchor report a press on empty canvas (pressed_empty), whose doc says which tools report it 2026-11-16 23:01:15 +00:00
aiongg 69f4d33fa2 Canvas: its surface paints in the paint step, under the picture slot
The canvas surface came from ContainerProps, which the body paints into a slot
reserved when its content starts, after the canvas reserved its picture slot in
the paint step: the surface covered every picture shown with
RasterDisplay::picture. The surface is the canvas style's own, painted before
the slot, so the picture lies on the surface, under the canvas veil and every
canvas control of the body; the body's children see the same surface.
2026-11-16 22:58:25 +00:00
aiongg beef01d6fd A focused canvas control lends its leftover Escape to the window as the document canvas does (focus::is_canvas_member on the recorded arena root); keys::take_cancel is private again 2026-11-16 22:58:24 +00:00
aiongg f9b11ac031 Merge commit '5ae19f3035' into red/t3c 2026-11-16 22:56:53 +00:00
aiongg c9e1851acf Trial: a wheel notch down steps a free select to the next entry 2026-11-16 22:53:43 +00:00
aiongg 7641c82939 Select: a wheel notch down steps to the next entry and up to the previous one, as the combo box and the tab strip do 2026-11-16 22:53:32 +00:00
aiongg 5ae19f3035 keys::take_cancel is public for an app that opens a modal layer in the pass an Escape arrives in 2026-11-16 22:52:44 +00:00
aiongg d824fa99d7 Curvature Pen: a press away from every end point carries on the subpath the host names (PenTool::carry_on), adding its anchor to it 2026-11-16 22:50:40 +00:00
aiongg 8167b69fd9 Key stage: a canvas tool's state-dependent claims hold while a non-text member of the canvas's arena (a frame part) is focused 2026-11-16 22:49:51 +00:00
aiongg fcde55c303 bezier trials: a host-cancelled press restores nothing; arrow trial empties the Tab-arrival selection 2026-11-16 22:48:42 +00:00
aiongg cb14f32232 Merge branch 'red/t4d' into fw/mac1 2026-11-16 22:47:46 +00:00
aiongg 37fc579d62 Merge branch 'red/t11' into fw/mac1 2026-11-16 22:47:46 +00:00
aiongg d69d80d2cd Merge branch 'red/t10' into fw/mac1 2026-11-16 22:47:46 +00:00
aiongg b865bd53ad Merge branch 'red/t9' into fw/mac1 2026-11-16 22:47:46 +00:00
aiongg 6ef7c0c489 Merge branch 'red/t8' into fw/mac1 2026-11-16 22:47:46 +00:00
aiongg 5d9a02e86b Merge branch 'red/t7' into fw/mac1
# Conflicts:
#	crates/behavior/src/geometry/draft.rs
#	crates/behavior/tests/geometry/draft.rs
2026-11-16 22:47:46 +00:00
aiongg a8d15655ac Pen trial: the carried-anchor press lands on a middle anchor, since a press on the first anchor of a draft of three closes it 2026-11-16 22:47:33 +00:00
aiongg 6de8fd7139 rustfmt the crates round A changed 2026-11-16 22:44:29 +00:00
aiongg d3b57ecae9 TransformBox RotateZone::Border: the outside rotates only within a reach of the box's sides; further out a press is the box's and does nothing, with the arrow pointer (PhotoCraft's type box with Command held, pc-prod-e76 type_transform.rs:145-152, 213-216, 310-318); TransformOverlay::rotate_zone passes it to the box 2026-11-16 22:22:26 +00:00
aiongg 0233569408 TransformBox move reach: the corners are round, every point within the reach of the border and no further (a strip along each side and a sector outside each corner), as PhotoCraft's type move reach (pc-prod-e76 type_transform.rs:156-196) 2026-11-16 22:22:26 +00:00
aiongg 11c23fddf5 A canvas tool claims regions over the canvas controls: CanvasTool::regions, asked before the canvas shows and handed to Canvas::tool_regions, which declares them as over parts; a press there is the canvas's background press 2026-11-16 22:22:26 +00:00
aiongg 2313dd96a7 Readout trial: the release-pass check runs its tool in the canvas body, from the canvas's tool pass 2026-11-16 22:12:27 +00:00
aiongg cdea1067e7 Pen and Curvature Pen place and pull their anchors at the point the canvas snaps the pointer to (View > Snap To and the pixel grid), as the other drawing tools do 2026-11-16 22:04:17 +00:00
aiongg e902b2d306 Merge branch 'red/lag' into fw/mac1 2026-11-16 22:03:51 +00:00
aiongg b1d4d02aa6 Snap rounds the points it gives to whole document units when the app turns on the pixel grid, after the target snap and with snapping off or suspended; the transform box reads the grid from the canvas snap and loses its own pixel_grid prop 2026-11-16 22:03:47 +00:00
aiongg 7d991dcb64 TransformBox: the whole outside is four parts, the outside nearest each corner, under the band parts' keys, so a band press at any corner keeps rotating after the Move controls hand the drag to Free Transform 2026-11-16 22:02:45 +00:00
aiongg 36becdf099 ToolHost::run takes the canvas's ToolPass only
Every host runs in its canvas body, so the form that read a CanvasOutput after
the canvas goes: CanvasOutput no longer carries the pass, and run has no
measuring-run return (no measuring run publishes a pass).
2026-11-16 22:02:07 +00:00
aiongg 8df0d78832 Page view hands the canvas's tool pass to the app's body
PageBody carries the canvas's ToolPass, so the app runs its tool host inside
the page view's canvas body, after its controls and before the overlays that
show what the tool did.
2026-11-16 22:02:07 +00:00
aiongg 88a153964a Tool stories run their tool in the canvas body
The story body is the canvas body: it shows the canvas controls, runs the
tool through the StoryHost on the canvas's tool pass, then shows what reads
the tool's state, so the canvas shows a press and its moves in the same pass.
The run closure applies the tool's events and the story buttons' edits to the
document after the canvas. The body gets the document mutably, since some
tools edit it themselves.
2026-11-16 22:02:07 +00:00
aiongg 46b2a85470 Merge branch 'red/lag' into red/t4d 2026-11-16 22:00:35 +00:00
aiongg cf3eee7427 Shortcut import keeps a command's default key first among the set's keys 2026-11-16 21:58:10 +00:00
aiongg c597f5547f Keymap test: the Alt variant follows the command's key and yields to a bound Alt chord 2026-11-16 21:57:28 +00:00
aiongg 87a005c790 Merge branch 'ci/facade' into fw/mac1 2026-11-16 21:52:46 +00:00
aiongg 0734fdde26 Merge branch 'red/lag' into fw/mac1 2026-11-16 21:52:46 +00:00
aiongg 8cb12aa24f Merge branch 'red/t4c' into fw/mac1 2026-11-16 21:52:46 +00:00
aiongg f5b4138b17 CropOverlay reports a secondary press released on its parts as a context click, as the gradient overlay does 2026-11-16 21:51:16 +00:00
aiongg 83b6d0e48f craft facade: craft-ai-agents is an external crate, outside the facade 2026-11-16 21:47:49 +00:00
aiongg c065f71978 Corner widgets: a trial of a triangle's apex rounding with the pointer travel 2026-11-16 21:45:24 +00:00
aiongg fc5e6c1bc8 New Guide trial: Position text that does not parse keeps OK from making a guide 2026-11-16 21:43:42 +00:00
aiongg 9824f49b06 Crop overlay leaves Escape to the window while the frame is the untouched default 2026-11-16 21:43:39 +00:00
aiongg 1e1b260512 RAW Develop: OK accepts a point curve left as stored, so an older Smart Filter commits 2026-11-16 21:43:06 +00:00