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
ef8f69134f
commit
38acba82b4
20 changed files with 58 additions and 68 deletions
|
|
@ -9,7 +9,7 @@
|
|||
use iced_runtime::core::widget::Id;
|
||||
use iced_runtime::{Action, Task, keyboard, task};
|
||||
|
||||
use iced_core::event::{self, Event};
|
||||
use iced_core::event::Event;
|
||||
use iced_core::renderer::{self, Quad, Renderer};
|
||||
use iced_core::widget::Operation;
|
||||
use iced_core::widget::tree::{self, Tree};
|
||||
|
|
@ -662,7 +662,7 @@ impl<'a, Message: 'a + Clone> Widget<Message, crate::Theme, crate::Renderer>
|
|||
height,
|
||||
} = layout.bounds();
|
||||
let bounds = Rect::new(x as f64, y as f64, (x + width) as f64, (y + height) as f64);
|
||||
let is_hovered = state.state.downcast_ref::<State>().is_hovered;
|
||||
let _is_hovered = state.state.downcast_ref::<State>().is_hovered;
|
||||
|
||||
let mut node = Node::new(Role::Button);
|
||||
node.add_action(Action::Focus);
|
||||
|
|
@ -822,7 +822,7 @@ pub fn update<'a, Message: Clone>(
|
|||
}
|
||||
}
|
||||
#[cfg(feature = "a11y")]
|
||||
Event::A11y(event_id, iced_accessibility::accesskit::ActionRequest { action, .. }) => {
|
||||
Event::A11y(_event_id, iced_accessibility::accesskit::ActionRequest { action, .. }) => {
|
||||
let state = state();
|
||||
if let Some(on_press) = matches!(action, iced_accessibility::accesskit::Action::Click)
|
||||
.then_some(on_press)
|
||||
|
|
@ -865,7 +865,7 @@ pub fn draw<Renderer: iced_core::Renderer, Theme>(
|
|||
viewport_bounds: Rectangle,
|
||||
styling: &super::style::Style,
|
||||
draw_contents: impl FnOnce(&mut Renderer, &Style),
|
||||
is_image: bool,
|
||||
_is_image: bool,
|
||||
) where
|
||||
Theme: super::style::Catalog,
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue