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:
parent
3ab8dc3ca5
commit
c9c3d3b1bf
25 changed files with 289 additions and 255 deletions
|
|
@ -780,7 +780,10 @@ fn layer_row<'a>(
|
|||
_ => Message::LayerColorSet(7),
|
||||
},
|
||||
Message::LayerColorPickerToggle(index),
|
||||
Message::OpenColorWindow(crate::app::ColorPickTarget::Layer(index)),
|
||||
Message::OpenColorWindow(
|
||||
crate::app::ColorPickTarget::Layer(index),
|
||||
acadrust::types::Color::Index(aci),
|
||||
),
|
||||
))
|
||||
.width(Length::Fixed(COL_COLOR))
|
||||
.into();
|
||||
|
|
|
|||
Loading…
Reference in a new issue