Update libcosmic/iced
This commit is contained in:
parent
d759e1d7c2
commit
249c62ee0a
3 changed files with 114 additions and 102 deletions
|
|
@ -533,7 +533,7 @@ impl Application for App {
|
|||
vec![mime_type.to_string()],
|
||||
DndAction::Move,
|
||||
*parent_id,
|
||||
Some(DndIcon::Custom(id)),
|
||||
Some((DndIcon::Custom(id), iced::Vector::ZERO)),
|
||||
Box::new(WlDndId { mime_type }),
|
||||
);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -291,7 +291,7 @@ fn toplevel_previews_entry<'a>(
|
|||
// shown.
|
||||
let preview = crate::widgets::visibility_wrapper(toplevel_preview(toplevel), !is_being_dragged);
|
||||
iced::widget::dnd_source(preview)
|
||||
.on_drag(|size| {
|
||||
.on_drag(|size, _offset| {
|
||||
Msg::StartDrag(
|
||||
size,
|
||||
DragSurface::Toplevel {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue