Expand description
The split of a hovered pane that a drop on one of its sides commits, by the drop direction the window sends (a redock of a floating pane, a move between window tabs, a pane docked beside another).
The splits are not written here: they are
frontend/layout/lib/drop-splits.json, the list the window shows its drop
from (dropSplits.ts). What the window shows for a direction and what srv
commits for it are one entry of that list. srv’s tree for every entry is in
frontend/layout/tests/fixtures/drop-split-vectors.json, which the
window’s reducer replays (dropSplits.test.ts).
Structs§
- Drop
Split - One split of the list: the direction that asks for it and the split it makes.
Functions§
- drop_
split - The split srv commits for
direction;Nonewhere it has no split (the middle of a pane, an unknown code) and the block is inserted instead. - drop_
splits - Every split srv commits for a drop on a pane’s side.