Commit Graph
102 Commits
Author SHA1 Message Date
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 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
aiongg ca1a3c72bf Merge branch 'fw/merge-h' into area/fwb2 2026-11-16 13:23:08 +00:00
aiongg b96b48666f merge-fwh: pen: PenTool::deletes, Delete and Backspace left to the app for a draft the selected tool does not own (a864229579) 2026-11-16 13:21:50 +00:00
aiongg 839b67b628 Merge branch 'fw/merge-fb' into area/fwb2 2026-11-16 13:20:06 +00:00
aiongg 858b1c1793 merge-fwh: anchor tools: AnchorTool, the canvas tool of Add/Delete Anchor, Convert Point and Direct Selection (no press, own cursor, shown pen draft) 2026-11-16 13:17:17 +00:00
aiongg de96ac0c86 merge-fwf: F3/F4 trials: the box trials press inside away from the reference point; the Ruler trial's tool forwards its cursor; the ruler's line part names its keyboard path (the tool's arrows move the whole ruler); rustfmt 2026-11-16 13:14:17 +00:00
aiongg 55845f323a Merge branch 'fw/merge-c3' into area/fwb2 2026-11-16 13:02:52 +00:00
aiongg 0347762847 Merge branch 'fw/merge-f' into fw/merge-fb 2026-11-16 13:01:41 +00:00
aiongg 45273b3a74 merge-c2: stroke width range alert: StrokeCells::show reports StrokeCellsOutput { events, out_of_range }; the Shape bar passes it through Cells::alert; trial case in shape_cells 2026-11-16 12:58:36 +00:00
aiongg f8b7b010a6 merge-c3: rustfmt 2026-11-16 12:56:33 +00:00
aiongg 00559e1fd2 merge-c3: 2.2: trial keeps the vertical case inside the canvas 2026-11-16 12:56:19 +00:00
aiongg e3a769a56f merge-f: F4, F5: Ruler: whole-ruler move from the line or a protractor's vertex, square end zones (#14978); the Ruler's arrow and protractor cursors, crosshair when precise (#13438); read-only show_ruler with the crosses (#14971); RulerLine::part_at goes 2026-11-16 12:55:16 +00:00
aiongg ba4db1c175 Merge branch 'fw/merge-c2' into fw/merge-c4 2026-11-16 12:55:04 +00:00
aiongg 80f7fc1519 merge-c3: 4.2: Add Anchor cursor: pen with + over a segment, arrow over an anchor, crosshair when precise (#13292) 2026-11-16 12:54:24 +00:00
aiongg 14c337949f merge-c: 1.4b: Rectangle gear popover: Unconstrained, Square, Fixed Size, Proportional and From Center over BoxConstraints, its sizes reporting range alerts (BoxConstraintsPopover; ShapeToolSettings.rect_box) (#13343) 2026-11-16 12:53:44 +00:00
aiongg 184aebf64c merge-c: 1.7: LiveShape::triangle; the Shape panel shows a triangle's W, H and one Corner radius (#13360) 2026-11-16 12:53:36 +00:00
aiongg 643cd9ed3d merge-c: 1.6: Arrowhead Concavity -50..50 whole; the arrowhead popover and the Shape panel report a value typed past its range (ArrowheadsOutput.out_of_range, ShapePanelOutput.out_of_range) 2026-11-16 12:53:27 +00:00
aiongg d7b906438e merge-c3: 2.1: Direct Selection ⌥ drag on a segment drags a copy of its subpath (PathEdit::DuplicateSubpath, EditPath::copies) (#13756) 2026-11-16 12:52:17 +00:00
aiongg 6319440bd8 merge-c3: 2.3: PathSelection.shown: anchors of the shown subpaths only; Delete Anchor on a hidden anchor shows its subpath; PathSelection::after_delete (#13135) 2026-11-16 12:50:40 +00:00
aiongg f7df657338 merge-f: F3: TransformBox follows from the first move after the press (#11103); PressPhase::Held carries the pointer 2026-11-16 12:49:40 +00:00
aiongg 9a51f7e174 merge-c: 1.3: the equilateral trial compares the apex within a tolerance 2026-11-16 12:49:31 +00:00
aiongg b37fd93885 merge-c3: 2.2: ⇧ anchor drags take the shared axis-or-diagonal rule (#13684) 2026-11-16 12:48:30 +00:00
aiongg 5fc4dc6051 merge-f: F1: Perspective Crop takes either winding; Alt corner drag keeps the corners as they lie (#13485) 2026-11-16 12:45:38 +00:00
aiongg 632da8704d Merge branch 'fw/merge-c1' into fw/merge-c4 2026-11-16 12:44:54 +00:00
aiongg 95c557733f merge-c: 1.8: Create Shape raises the range alert for a width or height typed past 1..300,000 px, every kind (UnitSelectOutput.out_of_range; CreateShapeDialog::alert_title, take_range_alert) (#13358) 2026-11-16 12:43:17 +00:00
aiongg dc7dea1805 merge-c4: 1.10: TransformBox centre mark (#13239) and live-line look (#13263): the ends stand for the box handles they point to 2026-11-16 12:42:40 +00:00
aiongg 3c3264f6f0 merge-c: 5.2: Space moves the shape being drawn by the full pointer motion, the first move after Space included (#13867) 2026-11-16 12:40:57 +00:00
aiongg 6b1ab75129 merge-c: 1.5: a Rectangle in Shape mode ends a click within 1 screen point (ShapeDragOptions::mode) (#13340) 2026-11-16 12:40:39 +00:00
aiongg f8054eedb0 merge-c: 1.3: Triangle fills its box (apex top centre), ⇧ the equilateral triangle in the square's circle, ⇧⌥ centred on the press; Create Triangle answers the same kind (#13350, #13351) 2026-11-16 12:40:03 +00:00