Skip to content

Commit aea95b5

Browse files
committed
Emit pane_grid::DragEvent::Canceled within deadband
1 parent d618229 commit aea95b5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

widget/src/pane_grid.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -628,6 +628,10 @@ where
628628
};
629629

630630
shell.publish(on_drag(event));
631+
} else {
632+
shell.publish(on_drag(DragEvent::Canceled {
633+
pane,
634+
}));
631635
}
632636
}
633637
}

0 commit comments

Comments
 (0)