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
|
|
@ -611,7 +611,10 @@ impl PropertiesPanel {
|
|||
// "More Colors…" opens the full palette window targeting the
|
||||
// background colour — this used to just close the picker
|
||||
// (#415).
|
||||
Message::OpenColorWindow(crate::app::ColorPickTarget::PropertiesBg),
|
||||
Message::OpenColorWindow(
|
||||
crate::app::ColorPickTarget::PropertiesBg,
|
||||
color,
|
||||
),
|
||||
);
|
||||
return prop_row_widget(label, selector);
|
||||
}
|
||||
|
|
@ -655,7 +658,10 @@ impl PropertiesPanel {
|
|||
},
|
||||
Message::PropColorChanged,
|
||||
Message::PropColorPickerToggle,
|
||||
Message::OpenColorWindow(crate::app::ColorPickTarget::Properties),
|
||||
Message::OpenColorWindow(
|
||||
crate::app::ColorPickTarget::Properties,
|
||||
color,
|
||||
),
|
||||
);
|
||||
prop_row_widget(label, selector)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue