Skip to main content

delete_and_balance

Function delete_and_balance 

Source
pub fn delete_and_balance(
    root: &mut LayoutNode,
    node_id: &str,
) -> Result<(), LayoutError>
Expand description

The delete intent on a tree whose root stays: unlink the node, then balance (what the frontend does when a move empties a pane).