mirror of
https://github.com/storytold/figcraft.git
synced 2026-11-26 20:47:04 +00:00
minimal-port rewrite: 1 edits (combo 1)
This commit is contained in:
@@ -269,7 +269,7 @@ fn contributors_in(ui: &mut egui::Ui, contributors: &[Contributor], total_commit
|
||||
}
|
||||
ui.separator();
|
||||
ui.label(RichText::new(tr("Sort")).color(t.text_secondary));
|
||||
craft_ui::ComboBox::from_id_salt("credits_sort").selected_text(v.key.label().0).show_ui(ui, |ui| {
|
||||
egui::ComboBox::from_id_salt("credits_sort").selected_text(v.key.label().0).show_ui(ui, |ui| {
|
||||
for k in SortKey::ALL {
|
||||
if ui.selectable_label(v.key == k, k.label().0).clicked() {
|
||||
v.key = k;
|
||||
|
||||
Reference in New Issue
Block a user