Skip to main content

resize

Function resize 

Source
pub fn resize(
    indexed: &IndexedDocument<'_>,
    target: ResizeTarget,
    to: Rect,
    builder: &mut CommitBuilder,
)
Expand description

Inventory row “Resize Shape”: the gesture resolved the final rect — minimum sizes, the block-height ladder, aspect snapping, magnetism — and this writes it with the riders it carries: a block’s pins ride up when the new height no longer holds the lowest slot, and its icon rides the center and is held inside the new box.