Use BTreeMap for splits and regions in pane_grid
This preserves ordering between calls to update and draw logic.
This commit is contained in:
parent
31522e30aa
commit
e7344d03b4
4 changed files with 12 additions and 12 deletions
|
|
@ -1,5 +1,5 @@
|
|||
/// A divider that splits a region in a [`PaneGrid`] into two different panes.
|
||||
///
|
||||
/// [`PaneGrid`]: crate::widget::PaneGrid
|
||||
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
|
||||
#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
|
||||
pub struct Split(pub(super) usize);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue