Function color_chip

Source
pub(crate) fn color_chip<'a>(
    color: Color32,
    selected: bool,
    palette: &Palette,
) -> Button<'a>
Expand description

The label-colour swatch every label menu shows: a filled round chip. A Button, so a caller can click it, select it or hang a menu off it.