yoda: bump iced submodule + cargo auto-fix sweeps (squashed)
Squash of 6 yoda commits: -282813c8yoda: bump iced -> window_clipboard via public Forgejo fork -cdf34938yoda: cargo fix --lib (libcosmic-yoda) — drop 99 trivial warnings -38a988cbyoda: cargo fix on cosmic-config + bump iced auto-fix commit -301bbf6eyoda: bump iced submodule -> iced_winit warning cleanup (0 left) -b94c03d9yoda: bump iced submodule -> iced_widget cleanup (0 left) -a9492d76yoda: bump iced submodule -> all iced crates at 0 warnings
This commit is contained in:
parent
7c0b3ff1b7
commit
c85efc6180
19 changed files with 42 additions and 52 deletions
|
|
@ -91,7 +91,7 @@ impl<Message: Clone + 'static> ContextMenu<'_, Message> {
|
|||
bounds.x = my_state.context_cursor.x;
|
||||
bounds.y = my_state.context_cursor.y;
|
||||
|
||||
let (id, root_list) = my_state.menu_bar_state.inner.with_data_mut(|state| {
|
||||
let (id, _root_list) = my_state.menu_bar_state.inner.with_data_mut(|state| {
|
||||
if let Some(id) = state.popup_id.get(&self.window_id).copied() {
|
||||
// close existing popups
|
||||
state.menu_states.clear();
|
||||
|
|
@ -149,7 +149,7 @@ impl<Message: Clone + 'static> ContextMenu<'_, Message> {
|
|||
layout.bounds(),
|
||||
-bounds.height,
|
||||
);
|
||||
let (anchor_rect, gravity) = my_state.menu_bar_state.inner.with_data_mut(|state| {
|
||||
let (anchor_rect, _gravity) = my_state.menu_bar_state.inner.with_data_mut(|state| {
|
||||
use iced::Rectangle;
|
||||
|
||||
state.popup_id.insert(self.window_id, id);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue