Martin Ball
def1c54d40
fmt: chrome framework batch
2026-11-18 16:52:16 +00:00
Martin Ball
8cf5a10121
alt text: a disabled text part marks the node that stands for it disabled; gradient tile trial compares focus outlines by their normalised parameter
2026-11-18 16:21:12 +00:00
Martin Ball
1bbb502203
chrome-w5: net change of 3 commits
...
- chrome-w5: written by an agent
- chrome-w5: review fixes (review-1)
- chrome-w5: review fixes (review-1b)
2026-11-18 16:01:11 +00:00
Martin Ball
5b9bf4c985
canvas-w4: net change of 5 commits
...
- canvas-w4: repair 1
- canvas-w4: finished by an agent
- canvas-w4: finished by an agent
- canvas-w4: finished by an agent
- canvas-w4: review fixes (review-1)
2026-11-18 14:03:47 +00:00
aiongg
35b0b38909
Rename our craft-color to craft-color-ui; keep storytold main's craft-color (frame colour tags) at crates/color
2026-11-17 12:54:32 +00:00
aiongg
4d600ed6da
Transform box: arrows move the whole box unless the keyboard picked a part
2026-11-17 00:22:35 +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
79a5564061
rustfmt the crates round B changed
2026-11-16 23:32:27 +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
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
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
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
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
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
46b2a85470
Merge branch 'red/lag' into red/t4d
2026-11-16 22:00:35 +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
c065f71978
Corner widgets: a trial of a triangle's apex rounding with the pointer travel
2026-11-16 21:45:24 +00:00
aiongg
242d00d30f
Pen trial: the close badge shows only over the first anchor
2026-11-16 21:41:44 +00:00
aiongg
5eefdb88a1
Run the tool host in the canvas body at every caller but tool_story and PageView
...
Gallery mock panels, ui-bench, review story, doc examples and the test sites run
ToolHost::run on the ToolPass the canvas publishes, after the body's controls and
before the picture, which paints with .picture().
2026-11-16 21:37:38 +00:00
aiongg
4c563057cd
Merge branch 'red/t5' into fw/mac1
2026-11-16 21:35:40 +00:00
aiongg
e546c64d77
Merge branch 'red/t4' into fw/mac1
2026-11-16 21:35:40 +00:00
aiongg
e6ab0f2153
Merge branch 'red/t3' into fw/mac1
2026-11-16 21:35:40 +00:00
aiongg
7a0eb4c0ee
TransformOverlay reach: TransformReach::MoveOnly offers only the move reach outside the frame (no handles, sides, inside, outside, keys or menu; drawn only while its drag runs), replacing the f32 move reach; the box and overlay report the part their open press holds
2026-11-16 21:35:23 +00:00
aiongg
19f06c9322
Transform session: Undo or Redo inside the nudge pause records the nudges as their own step first, so Redo finds nothing after them
2026-11-16 21:33:31 +00:00
aiongg
1231eaa6ff
Crop tool trial: a Straighten line inside a frame snaps its ends as points, never as a frame move
2026-11-16 21:31:42 +00:00
aiongg
edd7a2afcd
A host cancels an open press by its owner through the press lifecycle Escape uses; BezierOverlay's parts follow the press's tool
...
cancel_press_of(ctx, owner) marks the arena holding the owner's open press; its next lifecycle run ends the press with
PressCancel::Host, which step 9 turns into a HostChanged cancel of the gesture. PartsCx reads the component's press
slot, so BezierOverlay declares its parts under the tool the press began with, as it handles them. The overlay lets go
of a press that is cancelled or that none of its parts carries, and a release with nothing held does nothing.
2026-11-16 21:29:20 +00:00
aiongg
de2c2972c2
BezierOverlay: an open press keeps the tool it began under; the host can cancel the open press
2026-11-16 21:17:55 +00:00
aiongg
02732c6cb1
Crop session: a first Set records a box step (the history starts from the frame before the change)
2026-11-16 21:16:52 +00:00
aiongg
3151102d53
Trial: a ratio typed in several steps fits from the frame the edit began with
2026-11-16 21:15:41 +00:00
aiongg
c53698127e
TransformBox snapping follows PhotoCraft: inside drags snap the box's bounds, the reference point snaps to the box's nine points only, Distort corners snap to guides only and Ctrl keeps their snapping, and a folded-short corner reports no line
2026-11-16 21:15:37 +00:00
aiongg
83152b550a
Trial: the pen's eraser end keeps a drawn crop frame pending
2026-11-16 21:15:14 +00:00
aiongg
c1fa0841a0
Trial: P and H belong to the crop only while a frame is pending
2026-11-16 21:14:49 +00:00
aiongg
35d4413ffd
Direct Selection: a click on empty canvas keeps the path being edited; trials for the marquee gesture, the deselect click, the Convert click edit and the arrow nudges
2026-11-16 21:14:45 +00:00
aiongg
6c064a218c
Curvature Pen: a press on a carried anchor adds an anchor and a double click on a carried anchor changes nothing, as the path's handles stay
2026-11-16 21:12:29 +00:00
aiongg
960d74f6b2
Trial: a Cmd line keeps turning the frame in place after Cmd is let go
2026-11-16 21:11:17 +00:00
aiongg
f1cc690bbc
Pen: the anchors Undo and Delete never take back are the draft's kept run, so a draft handed back by Undo loses its anchors
2026-11-16 21:09:13 +00:00
aiongg
b1766bb698
Merge remote-tracking branch 'upstream/next' into fw/mac1
2026-11-16 19:42:31 +00:00
aiongg
4d1063b6dc
PaintBar follows the Pro options bar: pen toggles, rules, no size or hardness fields; bar Home and tool buttons at the standard control size
2026-11-16 16:04:10 +00:00
aiongg
2103be6de1
Fix clippy and rustdoc errors in automation, draw, imaging, svg, ui-patterns and ui-widgets
2026-11-16 15:40:46 +00:00
aiongg
fe7246f6c6
TransformBox: one predicate decides which parts follow inside the slop, for the declared sense and the grip; a click that ends with the box as pressed cancels (CancelReason::Unchanged)
2026-11-16 14:15:26 +00:00
aiongg
e1e8f86845
Pen: whose anchors a draft's are is a state of the handed-in draft (PenDraft), read by Delete, Backspace and remove_last alike
2026-11-16 14:10:37 +00:00
aiongg
4fb9c7c0a5
craft-draw: trial for the transform box's secondary-click mode menu
2026-11-16 13:58:43 +00:00