mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-02 06:20:48 +01:00
The right dock already had splitters between panel groups (#88), but nothing showed where they were and drags lost the movement before egui's drag threshold, so they felt broken. - A three-dot grip in every gap; resize cursor and accent line on hover, solid while dragging. Grab area is the gap plus 3 pt each side and is registered after the groups so it wins over overlapping strips. - Drags are measured from the press against the heights at the press: the edge follows the pointer exactly and clamps at minimum heights without drift. - Double-clicking a splitter gives both neighbouring groups their default heights. - Collapsed groups have no splitter; the one above resizes against the next expanded group. Sizes persist as before (DockLayout::heights in ui.set, workspaces and prefs.panelLayout). - Control protocol: ui.press / ui.release (half clicks) so agents can hold a drag across calls; ui.move / ui.click now documented. - Tests: full-app kittest at three window sizes (grab tolerance, exact growth, minimum, double-click reset) and dock unit/kittests for collapsed groups and reset. Fixes #295 Co-Authored-By: Claude Opus 5.5 <[email protected]>