FilmCraft: An open-source, nonlinear video editor written by scratch in pure Rust
docking: docs for the split-tree settings and the new divider ids
aiongg85d1c820a1cc
diff --git a/crates/ui-egui/README.md b/crates/ui-egui/README.mdindex c02b32ebf..ea7ccb2df 100644--- a/crates/ui-egui/README.md+++ b/crates/ui-egui/README.md@@ -65,8 +65,10 @@ keeps Source navigation, markers and marked-range playback separate from ProgramDock transactions and pointer targets use `craft-ui::docking`; bounded split geometry andkeyboard-accessible resize handles use `craft-ui::layout`. FilmCraft adapts its existing saveddock tree and panel identities to the shared model. Panel tabs or their header grip can move-between tab groups, split at an edge, reorder, or float when released with Cmd/Ctrl. Floating-panels move by their empty header and resize from the bottom-right corner. Timeline sequence+between tab groups, split at an edge, reorder, or float when released with Cmd/Ctrl; a release+over no target cancels. Floating windows move by their title bar, resize from every edge and+split like the main window. Every group, Tools and the Audio Meters included, resizes down to+the same minimum and has no maximum. Timeline sequencetabs retain their sequence-opening, closing and horizontal reorder behavior; the header gripmoves the Timeline panel. Workspace saves retain floating groups alongside the legacy layoutJSON, and workspaces without floating data still load. Automation IDs and workspace commandsdiff --git a/docs/control-protocol.md b/docs/control-protocol.mdindex 8dd2510e2..cba92f79e 100644--- a/docs/control-protocol.md+++ b/docs/control-protocol.md@@ -201,18 +201,21 @@ Invalid source/target identities and non-finite or out-of-range geometry returnthe layout unchanged. `ui.inspect.ui.dock.floating` reports floating windows and theirlogical-point rectangles. `panel.drag.<Panel>` locates the drag bar of each panel's group;`panel.float.<index>.move` and `.resize` locate floating geometry handles; `dock.gutter.<path>`-locates a split divider (`a`/`b` per split level), and `dock.gutter.group.<Panel>`,+locates a split divider (`a`/`b` per split level), `dock.corner.<outer path>.<inner path>` the+four-way handle where two dividers meet, `panel.float.<index>.gutter.<path>` and+`panel.float.<index>.corner.<outer path>.<inner path>` the same inside a floating window, and+`dock.gutter.group.<Panel>`,`.stack.<Panel>` and `.column.<Panel>` the dividers below a group or accordion entry and beside acolumn, named by the panel they hold first; `ui.docking` lists every docking gesture source. Named workspace saves include floating windows.-The panels use craft-ui's shared docking in its Frame profile. Its control commands+The panels use craft-ui's shared docking with its split-tree settings. Its control commands(`window.panel.move`, `.float`, `.dock`, `.activate`, `.close`, `.closeGroup`, `.closeOthers`,`.minimize`, `.layout`; see craft-libs `docs/ui-docking.md`) route here too; the threecommands above are FilmCraft's names for `window.panel.float`, `.dock` and `.close`.`window.dockAction` accepts `{action}` using the shared docking action's JSON form. Itcovers tab moves and ordering, split and floating geometry, activation, and closing.-For example, `{"action":{"ResizeSplit":{"path":[],"size":{"FixedFirst":360}}}}`+For example, `{"action":{"ResizeSplit":{"path":[],"size":{"Ratio":0.3}}}}`resizes the root split; path entries use `false` for the first child and `true` forthe second. `{"action":{"MoveFloating":{"panel":"Info","rect":[45,65,420,320]}}}`repositions and resizes the floating group containing Info. Invalid actions leave the