Skip to content

Commit

Permalink
Merge pull request #2691 from mtkennerly/bugfix/pane-grid-canceled-wi…
Browse files Browse the repository at this point in the history
…thin-deadband

Emit pane_grid::DragEvent::Canceled within deadband
  • Loading branch information
hecrj authored Dec 10, 2024
2 parents ce13c22 + aea95b5 commit a687a83
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions widget/src/pane_grid.rs
Original file line number Diff line number Diff line change
Expand Up @@ -628,6 +628,10 @@ where
};

shell.publish(on_drag(event));
} else {
shell.publish(on_drag(DragEvent::Canceled {
pane,
}));
}
}
}
Expand Down

0 comments on commit a687a83

Please sign in to comment.