Rename DndWorkspaceDrag to DndToplevelDrag

This commit is contained in:
Ian Douglas Scott 2025-02-10 10:11:04 -08:00
parent b5d2eed726
commit 9b12e76765
2 changed files with 3 additions and 3 deletions

View file

@ -31,7 +31,7 @@ fn toplevel_dnd_destination<'a>(
cosmic::widget::dnd_destination::dnd_destination_for_data(
child,
|data: Option<DragToplevel>, _action| match data {
Some(toplevel) => Msg::DndWorkspaceDrop(toplevel),
Some(toplevel) => Msg::DndToplevelDrop(toplevel),
None => Msg::Ignore,
},
)