-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove Clone
bound on map_tabs
and filter_map_tabs
#241
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems like a good change. I noticed you haven't applied it to {DockState,Surface,Tree}::{filter_tabs,retain_tabs}
and {Surface,Tree}::map_tabs
, is there a particular reason for this?
Also, since this is an API change, I'll move it to release-0.13
.
I guess i just removed it from the stuff i used and didn't check for other instances of it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the massive delay, my irl stuff has been insane in the last 2 months.
The changes look good, merging them soon after I've updated the changelog. Thank you!
3697626
to
28f7bb5
Compare
* Remove `Clone` bound on `map_tabs` and `filter_map_tabs` (#241) * remove Clone bound on map_tabs and filter_map_tabs * remove Clone bound from all functions with Clone + FnMut bounds * Update changelog * Add missing period in changelog --------- Co-authored-by: Adanos020 <adanos020@gmail.com> * Update crate version and add MSRV change to changelog * Fix heading type in changelog * Update duplicate to 2.0 (#248) * Egui 0.29 (#251) * Upgrade to egui 0.29. * Update changelog and readme * Update release date in changelog --------- Co-authored-by: Ved_s <vedomir.samarin.03@gmail.com> Co-authored-by: Tau Gärtli <git@tau.garden>
… on each tab bar (#237) * Correct comment typos * Add two buttons on tab bars - Close all tabs: "×" - Collapse all tabs: "▼" * Add some utility for recursive node collapse checking * Preliminary implementation of collapsing windows * Handle tab collapsing layout * Resize windows when subnodes collapsed * Implements leaf close all button * Update changelog * Allow dragging to a collapsed leaf * Fix collapsed state checking after dnd splits * Update examples * Update changelog * Fix up changelog after rebase * Fix failing test and rename `Translations::window` to `Translations::leaf`. * Remove `Clone` bound on `map_tabs` and `filter_map_tabs` (#241) * remove Clone bound on map_tabs and filter_map_tabs * remove Clone bound from all functions with Clone + FnMut bounds * Update changelog * Add missing period in changelog --------- Co-authored-by: Adanos020 <adanos020@gmail.com> * Update crate version and add MSRV change to changelog * Fix heading type in changelog * Fix tab bar scroll bar width on window surfaces * Add close window button in context menu * Add minimize window button * Update CHANGELOG.md * Fix cargo test * Add tooltips to right-clickable tab bar buttons * Add minimization activation with modifiers * Add close window with modifiers * Correct tooltip display conditions * Upgrade to egui 0.29 * Add secondary button feature toggle * Cleanup code * Update examples * Fix cursor icon logic * Update examples * Update changelog * Make Japanese translations in the example more consistent with each other --------- Co-authored-by: Adanos020 <adanos020@gmail.com> Co-authored-by: Ved_s <vedomir.samarin.03@gmail.com>
No point of having a FnMut if it can't mutably reference stuff outside