forked from 1b-agent/opencadstudio-upstream
refactor(ui): adopt iced color picker
Remove local Pin/PickList wrappers and the ACI grid.\nBlock viewport input behind the picker and load iced_aw glyphs.
This commit is contained in:
1 parent
3ab8dc3ca5
commit
c9c3d3b1bf
25 files changed
+289
-255
No files matched your search
@@ -325,9 +325,8 @@ fn install_controls<'a>(
|
||||
text("no releases").size(11).style(muted_style).into()
|
||||
} else {
|
||||
let r = repo_s.clone();
|
||||
crate::ui::pick_list(tags, selected, move |tag| {
|
||||
Message::PluginReleaseSelect(r.clone(), tag)
|
||||
})
|
||||
iced::widget::pick_list(selected, tags, |value| value.to_string())
|
||||
.on_select(move |tag| Message::PluginReleaseSelect(r.clone(), tag))
|
||||
.text_size(12)
|
||||
.into()
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user