Skip to content

Commit

Permalink
Emit pane_grid::DragEvent::Canceled within deadband
Browse files Browse the repository at this point in the history
  • Loading branch information
mtkennerly committed Dec 7, 2024
1 parent d618229 commit aea95b5
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 aea95b5

Please sign in to comment.