Function effect_card

Source
fn effect_card(ui: &mut Ui, kind: EffectKind, palette: &Palette) -> Response
Expand description

One catalogue card: the thumbnail (or a neutral named tile, or a green tile + note for an audio effect) with the effect name underneath. A plain clickable / right-clickable widget that only becomes a DragPayload::Effect source on a deliberate drag (ui::drag_source).