Merge pull request #2691 from mtkennerly/bugfix/pane-grid-canceled-within-deadband
Emit pane_grid::DragEvent::Canceled within deadband
This commit is contained in:
commit
a687a83765
1 changed files with 4 additions and 0 deletions
|
|
@ -628,6 +628,10 @@ where
|
|||
};
|
||||
|
||||
shell.publish(on_drag(event));
|
||||
} else {
|
||||
shell.publish(on_drag(DragEvent::Canceled {
|
||||
pane,
|
||||
}));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue