Skip to main content

draw_pin_placeholders

Function draw_pin_placeholders 

Source
pub fn draw_pin_placeholders(
    bbox: Rect,
    pin: &Pin,
    painter: &mut Style<'_, impl Renderer>,
)
Expand description

Draw the faint “Add Name”/“Add Type”/“+tag” prompts for one block pin’s empty label slots — used by the selected-block render so empty fields are discoverable. The “+tag” prompt is only drawn for a shown (not hidden) tag.