Skip to content

Commit a687a83

Browse files
authored
Merge pull request #2691 from mtkennerly/bugfix/pane-grid-canceled-within-deadband
Emit pane_grid::DragEvent::Canceled within deadband
2 parents ce13c22 + aea95b5 commit a687a83

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)