Remove unneeded field of DragSurface
This commit is contained in:
parent
207e7b2ff3
commit
6838bd60be
3 changed files with 6 additions and 19 deletions
|
|
@ -483,7 +483,7 @@ impl Application for App {
|
|||
}
|
||||
}
|
||||
Msg::DndWorkspaceDrop(_toplevel) => {
|
||||
if let Some((DragSurface::Toplevel { handle, .. }, _)) = &self.drag_surface {
|
||||
if let Some((DragSurface::Toplevel(handle), _)) = &self.drag_surface {
|
||||
if let Some(DropTarget::WorkspaceSidebarEntry(workspace, output)) =
|
||||
self.drop_target.take()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue