Skip to main content

render_hidden

Function render_hidden 

Source
pub fn render_hidden(
    data: &Drawing<'_>,
    hidden: ShapeId,
    painter: &mut Style<'_, impl Renderer>,
)
Expand description

Draw the current level with one shape omitted — used while an in-place editor stands in for it (a text box being edited), so the editor isn’t drawn over the shape it replaces.