Commit Graph
5 Commits
Author SHA1 Message Date
skylar taylor-barrickandFredApps 76416ccd31 Dock dividers move with the move that starts their drag (#3461)
* docking divider: a drag moves the divider with the move that starts it

The move that carries a press past slop arrives as PressPhase::DragStart with the pointer position, but divider::drag dropped it, so every container moved its divider a pass later. Drag::Start now carries its coordinate (Start(f32), mirrored for right-to-left like To) and Drag::coord gives the coordinate of either. SplitArea, DockColumn, StackSections, the iconic column's edge, SplitViews, the column bar and the margin handles begin their gesture as before and then apply the start's coordinate in the same pass.

Drag is public, so Start(f32) is an API change for code that matches Drag::Start.

Trial a_column_divider_follows_the_move_that_starts_its_drag_in_the_same_pass

* docs: regenerate contract-api.md

---------

Co-authored-by: FredApps <153173854+FredApps@users.noreply.github.com>
2026-11-29 10:07:14 -05:00
skylartaylor 93c2c08e50 Dock dividers: a pointer drag leaves key focus where it was, so the arrow keys after it do not resize the dock 2026-11-23 15:01:26 +01:00
aiongg 8b7fb7143d craft-ui-patterns: a group's tab titles are derived once and keyed by their content, so a tab row replays unless its own titles changed 2026-11-20 18:17:24 +00:00
aiongg dc4ba06687 craft-ui-panels, craft-ui-patterns: HidePanels::Except holds a Tracked set of panel keys; the dock derives its pruned layout and each group's tab titles under revisions 2026-11-20 18:17:24 +00:00
aiongg a2676b8eac Framework UI crates: widgets, panels, canvas, patterns, shell and the craft-ui facade 2026-11-12 14:09:32 +00:00