add mouse region handler bool for adding the handler above the child
This commit is contained in:
parent
ba35536664
commit
70e2951e35
9 changed files with 221 additions and 187 deletions
|
@ -125,7 +125,7 @@ impl<V: View> DragAndDrop<V> {
|
|||
cx.defer(|cx| {
|
||||
cx.update_global::<Self, _, _>(|this, cx| this.stop_dragging(cx));
|
||||
});
|
||||
cx.propogate_event();
|
||||
cx.propagate_event();
|
||||
})
|
||||
.on_up_out(MouseButton::Left, |_, cx| {
|
||||
cx.defer(|cx| {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue