aiongg
98226eb219
Merge branch 'look/align' into fw/mac1
2026-11-17 08:04:37 +00:00
aiongg
5ccb18f828
A transformed box's corner near the origin holds the precision of the box's largest coordinate: a host's f32 write-back of a rotated text box no longer reads as a document change that cancels the handle drag after its first step
2026-11-17 08:02:42 +00:00
aiongg
1a55c72e1e
Grid: each column is a column group, so the labels beside the fields of one column share a width and the fields start at one x
2026-11-17 07:52:46 +00:00
aiongg
aef9f695dd
cargo fmt
2026-11-17 07:21:19 +00:00
aiongg
f42157c78b
Merge branch 'fw276/check' into fw/mac1
2026-11-17 05:25:39 +00:00
aiongg
ca8e645567
A cancel that restores the value counts as a write
...
The apply step counts every event that changes the bound value: a proposal,
commit or set, and a cancel that puts the value from before the gesture back.
A given binding unsettles on the same events, compared by the value each
lands. EditEvent::apply reports Restored only when the cancel changed the
value, so a cancel under a commit-only policy, whose place still holds the
value from before, counts as no write.
2026-11-17 05:12:37 +00:00
aiongg
4c1e445022
Merge branch 'fw276/dock' into fw276/check
2026-11-17 05:12:31 +00:00
aiongg
a4d5004009
Dock: a floating window keeps the edge its collapsed strip was dropped near; icons float collapsed under the pointer; top grips keep the bottom edge; a column that cannot collapse offers no collapse
2026-11-17 04:15:48 +00:00
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
cbf445ff52
Dock model: SetMinimized documents the tab strip only
2026-11-17 03:13:40 +00:00
aiongg
6d1596c531
Dock model tests: column state on float and join, floating drops, column rights, steps, v3 migration
...
Collapse is kept when a column or its groups float and decided by the
joined column; a floating window takes Top, Bottom and Center drops and
nothing beside it; collapses and shares_column refuse their placements
in both directions and reconcile repairs them; a stepped column keeps
its count through JSON and refuses widths; v3 floating trees load as
one column window per side-by-side part.
2026-11-17 03:12:10 +00:00
aiongg
c518493f93
Dock model: a floating window is one column; column rights; stepped columns
...
A floating window holds one Column, the type a dock holds, so collapse to
icons (Column.iconic) is the one collapsed state of every column, docked or
floating. PanelPlace::Floating names a group of the window's column, and
column(), group(), take, insert and every column action work the same for
both places. Groups taken out of a column carry its state into any new
column they make, so an icon group floated out of a collapsed column stays
icons; groups that join a column take that column's state. A floating
anchor takes Top, Bottom and Center drops only.
Column.steps and SetColumnSteps size a grid panel's column in its own
content columns; ResizeColumn refuses a stepped column. Permissions gain
collapses and shares_column, checked on the result of every apply (so dry
runs refuse alike), and reconcile repairs saved layouts that break them.
Workspace format v4: v3 floating trees load as columns, a tree split side
by side becoming one window per part at its share of the saved rect.
Floating.minimized and ResizeWindowSplit are removed.
2026-11-17 03:08:49 +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