Commit Graph
18 Commits
Author SHA1 Message Date
aiongg 06e8f642e2 The selection trials' tool wrapper passes on whether the tool takes every move, as the app's wrapper does 2026-11-17 05:09:01 +00:00
aiongg c481e1c1fd The freehand Lasso follows every move from its press, so a lasso drawn inside the click distance selects 2026-11-17 04:06:12 +00:00
aiongg 759abc01ab The Magnetic Lasso closes within 8 screen points of its first point, so a click where the outline began closes it 2026-11-17 04:04:56 +00:00
aiongg ebf36dc279 A Single Row or Column Marquee click inside the selection selects the line at the press snapped as a point, leaving out the selection's own edges 2026-11-16 21:21:53 +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 3be93ea350 design-lint: contract/keys, contract/egui-import, contract/pointer, test/harness: imaging's raw story presses through testing::input, SelectMask::start_pass, CylinderValues::moved, the magnetic width trial in the select trials 2026-11-16 13:29:30 +00:00
aiongg 70fda8a853 merge-c3: Magnetic Lasso cursor reads the canvas's precise cursor (cx.precise()); MagneticLassoTool::precise_cursor removed 2026-11-16 12:55:44 +00:00
aiongg f009a2065d merge-c4: 3.1: the lasso click trial names its rigs apart from the rig helper 2026-11-16 12:43:03 +00:00
aiongg dd1dbea3d4 merge-c4: 5.1: LassoTool::outline_operation, the operation the open outline latched at its press 2026-11-16 12:34:31 +00:00
aiongg 8f78c213de merge-c4: 3.1: a Lasso click deselects only when its operation is New (#13612) 2026-11-16 12:34:06 +00:00
aiongg 6dabf1503d tfix5-f8: content moves take every move from the press; MoveGesture::left_press is their only click rule; a selection drag that ends where it began cancels 2026-11-15 23:33:58 +00:00
aiongg 189783bde2 imaging, draw: Wide Angle undo/redo methods, lasso replaces_selection, Delete Anchor segment drag, vanishing point writes queue Planes/Stamp Set 2026-11-15 14:37:28 +00:00
aiongg 1b18c0b443 imaging select trials: injected input passes through the press arena as a hand's does
- marquee drag: the first move goes past the slop before the sub-pixel moves; the release elsewhere is a move there first
- lasso Alt clicks: Alt stays down across presses and releases, so the trial uses the hand's pointer and keyboard
- magnetic jump: the canvas is wide enough that the jump ends over it
- magnetic close on the start: the pointer reaches the start along the edge
2026-11-15 10:46:10 +00:00
aiongg 83b8649a7d R76: tool-host injection rides the window host's injected lanes
ToolHost::inject hands each ToolInput to the window host's injected lane of the
canvas's viewport, one step per pass: presses, moves and releases as egui
pointer events (InjectedPointer), carrying the pen's reading, which the step's
pass reads in place of the tablet's; Hold/LetGo as steps with no event that the
lane holds (WindowHost::inject_hold, inject_let_go, injected_holds). The tool
reads its input from the canvas's press and the pass pointer as for a hand's,
so the Color HUD, hover and egui's button state see injected moves.

Held keys end where the lane drops input (withdrawal, focus loss, cancel, end
of the session). A held key's momentary command applies to the whole pass, as
the real key's does.

Removed: HostState.queued and injected_held, WindowHost::inject_pass and its
trial, the injected gesture path in the host (Active.injected, Run::injected,
pick_momentary), Momentary::press, ToolInput.clicks.

Trials: the injection trials run until injected_idle; new trials for a held
Space ended by a cancel, an injected pen reading, and the Color HUD picking at
an injected move.
2026-11-15 10:32:47 +00:00
aiongg 14d5ec609a cargo fmt 2026-11-15 10:23:21 +00:00
aiongg 3238d9187e batch 1: ToolHost::cancel callers use a host value (R59) 2026-11-15 09:21:30 +00:00
aiongg f83986ad4b canvas-widgets-w3: net change of 9 commits
- canvas-widgets-w3: partly written (run interrupted)
- canvas-widgets-w3: partly written (run interrupted)
- canvas-widgets-w3: partly written (run interrupted)
- canvas-widgets-w3: written by an agent
- canvas-widgets-w3: review fixes (review-1)
- Integration: canvas trials keep canvas-widgets-w10's split module
- canvas-widgets-w3: the drag's snap reads the press bounds alone, so the release can take the gesture (combine)
- canvas-widgets-w3: the ruled guides trial shows its canvas in a room that holds the bounds, so its releases land on the canvas (fwcw round 3)
- canvas-widgets-w3: review fixes (review-tl-1)
2026-11-15 04:46:06 +00:00
aiongg fa139e6d3d Picture crates on the framework: imaging, draw, colour, layers 2026-11-12 14:09:48 +00:00