Fix handling leave event to one widget after enter for another
This commit is contained in:
parent
0f237155bf
commit
30b0cfe17b
2 changed files with 11 additions and 5 deletions
|
|
@ -177,7 +177,10 @@ fn workspace_sidebar_entry<'a>(
|
|||
.on_enter(|actions, mime, pos| {
|
||||
Msg::DndWorkspaceEnter(workspace.handle.clone(), output.clone(), actions, mime, pos)
|
||||
})
|
||||
.on_exit(Msg::DndWorkspaceLeave)
|
||||
.on_exit(Msg::DndWorkspaceLeave(
|
||||
workspace.handle.clone(),
|
||||
output.clone(),
|
||||
))
|
||||
.on_drop(Msg::DndWorkspaceDrop)
|
||||
.on_data(Msg::DndWorkspaceData)
|
||||
//)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue