Function transition_card

Source
fn transition_card(
    ui: &mut Ui,
    kind: TransitionKind,
    st: &TransitionsState,
    palette: &Palette,
    selected: bool,
) -> Response
Expand description

One catalogue card: the preview tile with the name underneath, selected/hover border. Clicking it selects the kind, right-clicking opens its quick actions; a deliberate press-and-move drags DragPayload::Transition (ui::drag_source).