Merge pull request #2691 from mtkennerly/bugfix/pane-grid-canceled-within-deadband

Emit pane_grid::DragEvent::Canceled within deadband
This commit is contained in:
Héctor 2024-12-10 17:59:08 +01:00 committed by GitHub
commit a687a83765
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -628,6 +628,10 @@ where
};
shell.publish(on_drag(event));
} else {
shell.publish(on_drag(DragEvent::Canceled {
pane,
}));
}
}
}