Commit Graph
111 Commits
Author SHA1 Message Date
aiongg d2d274e936 The wheel steps a select one entry per line, with its list open too, and its run commits when the wheel stops 2026-11-17 03:21:42 +00:00
aiongg 9db1bef17f Value gestures: a host that keeps a number in f32 echoes the proposal rounded to it; Slider, SliderField, AngleDial and TransformBox read that echo as their own value (craft_behavior::same_in_f32), so a live drag runs on as one gesture 2026-11-17 02:39:48 +00:00
aiongg 86f966d470 Wheel: over the canvas a modal dialog keeps open the wheel goes by position, as over a popup above the focused field (WheelFocus::by_position) 2026-11-17 02:39:48 +00:00
aiongg ca71fda229 Design-lint: non-exhaustive types, focus through runtime::egui, prop setters, relation in guides trial 2026-11-17 01:46:42 +00:00
aiongg 86ff913c14 cargo fmt 2026-11-17 01:37:58 +00:00
aiongg a29bbbd6a4 Merge branch 'red/t23e' into fw/mac1
One shift-lock opt-in: OutlineDraft::locking_shift_drags (t7d) carries t23e's rule that a Mixed draft which doesn't lock keeps the pointer's path under shift.
2026-11-17 01:05:14 +00:00
aiongg 24104464da Merge branch 'red/t1e' into fw/mac1 2026-11-17 01:04:26 +00:00
aiongg e59501c290 Wheel: a popup the pointer is over, opened above the focused field's layer, takes the wheel by position; the field's share applies elsewhere (WheelFocus::over_popup from focus::popup_above_focus, shared with press focus) 2026-11-17 00:42:31 +00:00
aiongg ffebe34d7a Font picker: a preview is a per-pass Preview change, not a value proposal, so a typed query keeps its draft and list while a row previews; a click on the closed field opens the list and selects the name (Cx::select_all_text, TextOutcome::clicked); the text controls forward the change 2026-11-17 00:36:24 +00:00
aiongg cebb673c91 Outline draft: a shift freehand drag locks one line only where the tool asks (the Freeform Pen); the selection Lasso keeps the pointer's path 2026-11-17 00:25:38 +00:00
aiongg 4b8f3c8608 Outline draft: only a draft built with locking_shift_drags (the Freeform Pen) locks a shift drag; the Lasso's shift adds to the selection 2026-11-16 23:36:47 +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 6de8fd7139 rustfmt the crates round A changed 2026-11-16 22:44:29 +00:00
aiongg 9718d8cb0d The freehand Lasso moves its outline by the pointer's step while Space is held, as the marquees do 2026-11-16 21:42:01 +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 7916ccb93e Merge branch 'red/t2' into fw/mac1 2026-11-16 21:35:40 +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 b8416e7cc7 An open press keeps the pointer until its button comes up: a press of a held button starts nothing, and injected input drops a Down for a button it holds 2026-11-16 21:26:42 +00:00
aiongg 2b66d91e8b IME engine: the input method's byte-counted delete-surrounding deletes the characters those bytes cover, converted at the editor against its text around the caret 2026-11-16 21:20:27 +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 11b7cf0903 Outline draft: a shift freehand drag locks one of eight directions and stays on that line 2026-11-16 21:15:07 +00:00
aiongg c101ffbcbe IME engine: the input method's delete-surrounding reaches the editor owning the IME 2026-11-16 21:10:15 +00:00
aiongg 6b6b0905ac Dock group: the panel menu button paints over the header's band; a workspace save without a layout does not load 2026-11-16 18:18:10 +00:00
aiongg 63a4811416 cargo fmt 2026-11-16 14:34:57 +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 fbe5a16ffe design-lint: api/non-exhaustive: #[non_exhaustive] on public types and variants, constructors where other crates build them 2026-11-16 13:31:29 +00:00
aiongg 2c129a64e3 merge-fwf: F3 pointer slop: Sense::FOLLOWS_IN_SLOP (Sense widens to u32) declares a drag part that begins at the first move inside slop; TransformBox's following parts declare it; the suite's pointer-slop case expects one gesture ending in a Commit within slop for it, reading the part's sense by owner 2026-11-16 13:19:54 +00:00
aiongg 0347762847 Merge branch 'fw/merge-f' into fw/merge-fb 2026-11-16 13:01:41 +00:00
aiongg 7c739a93ff Merge branch 'fw/merge-b2' into area/fwb2 2026-11-16 12:55:51 +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 4a445d10b6 merge-c: c1: rustfmt 2026-11-16 12:43:35 +00:00
aiongg 73d68241d7 merge-c: 1.2: Line ⇧ snaps to the axis within 30° (keeping the along-axis offset, at least 1 px) or the diagonal at the shorter offset, one rule in craft-behavior (axis_or_diagonal) 2026-11-16 12:37:51 +00:00
aiongg 3f139e21af merge-fwb: FW2: a trackpad steps only a focused or armed value control; a value control lets go of a wheel gesture when the pointer leaves it 2026-11-16 12:37:30 +00:00
aiongg 743dfd1da6 merge-fwa: FW4: one tool-icon cursor with a crosshair or arrow pointer (PointerTool replaces CrosshairTool), protractor drawing 2026-11-16 12:31:40 +00:00
aiongg cc00dbd368 Clippy and test-target lints: redundant must_use, type aliases for complex types, boxed large variants, argument structs, struct-update initialisers, deprecated egui calls, unused imports and dead code; the swatch library's reorder test runs as a trial 2026-11-16 02:30:55 +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 80e47af962 tfix3-f4: hit reach read, snap kinds, warp frame, fill expand/contract, finite pointer requests, pen host end, exact right-angle cap, empty tone channels 2026-11-15 16:58:16 +00:00
aiongg f12ea957ba behavior: DocumentWindows::add_document docks a document no group holds 2026-11-15 14:32:10 +00:00
aiongg f696f22deb fwb2-fix: remember for Content-Aware Fill and Liquify, Liquify redo depth
(cherry picked from commit 4848ca7f70f9455979824b47876adbaa3696f0bb)
2026-11-15 12:06:39 +00:00
aiongg 14d5ec609a cargo fmt 2026-11-15 10:23:21 +00:00
aiongg 8e4915e979 canvas-widgets-w16: net change of 2 commits
- canvas-widgets-w16: written by an agent
- canvas-widgets-w16: review fixes (review-1, item 9)
2026-11-15 09:18:08 +00:00
aiongg 0b46a6d24d canvas-widgets-w29: net change of 2 commits
- canvas-widgets-w29: written by an agent
- canvas-widgets-w29: review fixes (review-1)
2026-11-15 09:18:07 +00:00
aiongg b119a18735 canvas-widgets-w19: net change of 2 commits
- canvas-widgets-w19: written by an agent
- canvas-widgets-w19: review fixes (review-1)
2026-11-15 09:18:07 +00:00
aiongg 280aa468e7 tools-w6: net change of 3 commits
- tools-w6: written by an agent
- tools-w6: review fixes (review-1)
- Integration: synthetic input trials keep canvas-widgets-w13's queued-pass trial beside tools-w6's
2026-11-15 04:46:08 +00:00
aiongg a9b04134a8 tools-w15: net change of 3 commits
- tools-w15: written by an agent
- tools-w15: review fixes (review-1)
- tools-w15: the crop rig records only the real run of each pass, not the canvas body's measuring run (tools run round)
2026-11-15 04:46:08 +00:00
aiongg ff439373ec tools-w1: net change of 1 commits
- tools-w1: written from its sheet
2026-11-15 04:46:08 +00:00
aiongg 38fbe5ca55 canvas-widgets-w5: net change of 3 commits
- canvas-widgets-w5: written from its sheet
- canvas-widgets-w5: review fixes (review-1)
- canvas-widgets-w5: review fixes (review-top-1)
2026-11-15 04:46:06 +00:00
aiongg 1e8c2736ed canvas-widgets-w4: net change of 11 commits
- canvas-widgets-w4: written by an agent
- canvas-widgets-w4: finished by an agent
- canvas-widgets-w4: review fixes (review-1)
- canvas-widgets-w4: pen readings drain in the pass that carries moves (per-frame input rule)
- Integration: input hook keeps canvas-widgets-w13's frame key and inject_pass beside the focus-loss withdrawal and inject_ime
- canvas-widgets-w4: tp.T39 ControlClick moved from PhotoCraft (Integration: top-w7's item, on this set's hot path)
- canvas-widgets-w4: Control-click trial in the it binary (tp.T39)
- canvas-widgets-w4: the gesture-gap trial reads the wake once egui's wheel smoothing has settled (fwcw round 3)
- canvas-widgets-w4: the list-end trial starts a new wheel gesture at the list's end, as a running gesture keeps its taker (fwcw round 3)
- canvas-widgets-w4: the free-slider wheel trial points inside the panel, which is as wide as its members (fwcw round 3)
- canvas-widgets-w4: the Tab-and-paste trial uses prose editors, as a code editor part keeps Tab (fwcw round 3)
2026-11-15 04:46:06 +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