Skip to main content

paint_invalid_edge

Function paint_invalid_edge 

pub fn paint_invalid_edge(
    scene: &mut Scene,
    transform: Affine,
    field: Rect,
    theme: &Theme,
)
Expand description

Outline a field whose content was refused (a wrong password) in the danger colour, over the field’s own edge at the control radius.