Emit pane_grid::DragEvent::Canceled within deadband
This commit is contained in:
parent
d6182299b9
commit
aea95b53fb
1 changed files with 4 additions and 0 deletions
|
|
@ -628,6 +628,10 @@ where
|
||||||
};
|
};
|
||||||
|
|
||||||
shell.publish(on_drag(event));
|
shell.publish(on_drag(event));
|
||||||
|
} else {
|
||||||
|
shell.publish(on_drag(DragEvent::Canceled {
|
||||||
|
pane,
|
||||||
|
}));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue