fix(deps): update rust crate egui_dock to 0.18 #64
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.14->0.18Release Notes
Adanos020/egui_dock (egui_dock)
v0.18.0Breaking changes
Changed
v0.17.0Breaking changes
Nodes underlying data has been split up into theLeafNodeandSplitNodetypes, meaning that any matchstatements carried out on a node now needs to account for this.
Changed
Tree::set_active_tabnow takesimpl Into<NodeIndex>andimpl Into<TabIndex>to make use slightly easier.Surfacenow implementsIndex<NodeIndex>/IndexMut<NodeIndex>which tries to access the surfaces node tree andthe node at the index. This will always panic when used on an empty surface as they do not have a node tree nor
nodes.
Added
DockState::iter_leavesandDockState::iter_leaves_mut- can be used to more efficiently iterate over leafnodes without needing to "unwrap" them from the
Nodeenum.DockState::find_tab_from/Tree::find_tab_from- a more generalized version of the existingfind_tabmethodswhich doesn't require the tab type to implement
PartialEq.LeafNodewhich contains leaf node data and has the following methods:new,set_active_tab,set_rect,rect,len,is_empty,tabs,tabs_mut,append_tab,insert_tab,remove_tab,retain_tabs,active_focused.SplitNodewhich contains data about node splits and has the following methods:new,set_rect,rect.Node::get_leaf/Node::get_leaf_mut- an alternative way of trying to access leaf data in a node.TabBarStylenow has two new fields:inner_marginandspacing. (#270)Fixed
DockState::retain_tabsno longer deletes the main surface if it ends upempty (#277).
{DockState,Tree}::remove_leafnow removes unused empty node`s at the back of the tree.{DockState,Tree}::retain_tabsno longer deletes leaf nodes it shouldn't delete.v0.16.0Breaking changes
v0.15.0Changed
buttons" from the tab bar.
key while clicking on them, or from a context menu by right-clicking them.
Added
DockArea::show_leaf_close_all_buttons– shows a close all button which closes all open tabs in a leaf.DockArea::show_leaf_collapse_buttons– shows a collapsing button which collapses a leaf (no longer collapsing awindow).
DockArea::show_secondary_button_hint– sets whether tooltip hints are shown for secondary buttons on tab bars.DockArea::show_leaf_collapse_buttons– shows a collapsing button which collapses a leaf (no longer collapsing awindow).
DockArea::secondary_button_on_modifier– sets whether the secondary buttons on tab bars are activated by themodifier key.
DockArea::secondary_button_context_menu– sets whether the secondary buttons on tab bars are activated from acontext value by right-clicking primary buttons.
LeafTranslations::close_all_buttonLeafTranslations::close_all_button_menu_hintLeafTranslations::close_all_button_modifier_hintLeafTranslations::close_all_button_modifier_menu_hintLeafTranslations::close_all_button_disabled_tooltipLeafTranslations::minimize_buttonLeafTranslations::minimize_button_menu_hintLeafTranslations::minimize_button_modifier_hintLeafTranslations::minimize_button_modifier_menu_hintNode::is_collapsed– returns whether theNodeis collapsed.Node::collapsed_leaf_count– returns the number of collapsed layers of leaf subnodes.Node::set_collapsed– set the collapsing state of theNode.Node::set_collapsed_leaf_count– sets the number of collapsed layers of leaf subnodes.WindowState::minimizedfield – records whether a window is minimized.WindowState::expanded_heightfield – records the height of the window before it was fully collapsed.ButtonsStyle::{close_all_tabs, collapse_tabs, minimize_window}_colorButtonsStyle::{close_all_tabs, collapse_tabs, minimize_window}_active_colorButtonsStyle::{close_all_tabs, collapse_tabs, minimize_window}_bg_fillButtonsStyle::{close_all_tabs, collapse_tabs, minimize_window}_border_colorButtonsStyle::close_all_tabs_disabled_colorStyle::TAB_CLOSE_ALL_BUTTON_SIZEStyle::TAB_CLOSE_ALL_SIZEStyle::TAB_COLLAPSE_BUTTON_SIZEStyle::TAB_COLLAPSE_ARROW_SIZEStyle::TAB_EXPAND_BUTTON_SIZEStyle::TAB_EXPAND_ARROW_SIZEBreaking changes
Translations::WindowTranslationstoTranslations::LeafTranslations.WindowTranslations::close_button_tooltiptoLeafTranslations::close_button_disabled_tooltip.Translations::LeafTranslationsnow requires more fields to be constructed (see Added section).Deprecated
DockArea::show_window_close_buttons– no longer has any effect; consider usingDockArea::show_leaf_close_all_buttonsinstead.
DockArea::show_window_collapse_buttons– no longer has any effect; consider usingDockArea::show_leaf_collapse_buttonsinstead.
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.