Skip to main content

editor_position

Function editor_position 

Source
fn editor_position(
    data: &Drawing<'_>,
    anchor: PinId,
    field: Field,
    painter: &Style<'_, impl Renderer>,
) -> Option<(Rect, Align2)>
Expand description

The editor’s rect over the committed label, re-measured every frame so it tracks the pin’s geometry; None once the pin is gone.