Remove unneeded field of DragSurface

This commit is contained in:
Ian Douglas Scott 2025-01-24 14:41:36 -08:00
parent 207e7b2ff3
commit 6838bd60be
3 changed files with 6 additions and 19 deletions

View file

@ -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()
{