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
@@ -22,7 +22,8 @@ pub fn cycle_popup_overlay(
|
||||
.style(container::bordered_box)
|
||||
.width(Length::Fixed(150.0));
|
||||
|
||||
let positioned = crate::ui::pin_at(anchor, opaque(panel));
|
||||
let positioned = iced::widget::pin(opaque(panel))
|
||||
.position(iced::Point::new(anchor.x.max(0.0), anchor.y.max(0.0)));
|
||||
|
||||
mouse_area(positioned).on_press(Message::CycleCancel).into()
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user