Skip to main content

group_move_blocked

Function group_move_blocked 

Source
pub fn group_move_blocked(
    indexed: &IndexedDocument<'_>,
    members: &HashSet<Shape>,
    moved: &[(BlockId, GridRect, GridRect)],
) -> bool
Expand description

The group rule: only a new overlap rejects, so a selection already sitting on its neighbour (a fresh paste) can still be nudged. Intra-group overlaps are ignored — the group keeps its layout.