Skip to main content

override_rect

Function override_rect 

Source
fn override_rect(shape: ShapeId, overrides: &[(ShapeId, Rect)]) -> Option<Rect>
Expand description

The previewed geometry for shape when it appears in overrides (a block or port being dragged or resized), or None to use its stored geometry.