yoda: cargo fix sweep post-rebase (unused imports/vars)
Some checks failed
Check / widget (push) Has been cancelled
Audit / vulnerabilities (push) Has been cancelled
Check / wasm (push) Has been cancelled
Document / all (push) Has been cancelled
Format / all (push) Has been cancelled
Lint / all (push) Has been cancelled
Test / all (macOS-latest, 1.88) (push) Has been cancelled
Test / all (macOS-latest, beta) (push) Has been cancelled
Test / all (macOS-latest, stable) (push) Has been cancelled
Test / all (ubuntu-latest, 1.88) (push) Has been cancelled
Test / all (ubuntu-latest, beta) (push) Has been cancelled
Test / all (ubuntu-latest, stable) (push) Has been cancelled
Test / all (windows-latest, 1.88) (push) Has been cancelled
Test / all (windows-latest, beta) (push) Has been cancelled
Test / all (windows-latest, stable) (push) Has been cancelled

Leyoda 2026 – GPLv3
This commit is contained in:
Lionel DARNIS 2026-07-02 19:01:15 +02:00
parent 362b4abb15
commit 1a57634add
16 changed files with 32 additions and 88 deletions

View file

@ -35,7 +35,7 @@ use crate::core::{
color,
};
use iced_runtime::{Action, Task, task};
use iced_runtime::{Task, task};
/// A widget that aligns its contents inside of its boundaries.
///

View file

@ -1,7 +1,6 @@
//! Keyed columns distribute content vertically while keeping continuity.
//! Distribute content vertically.
use crate::core::event;
use crate::core::layout;
use crate::core::mouse;
use crate::core::overlay;

View file

@ -1,5 +1,5 @@
#![allow(missing_docs)]
use crate::core::event::{self, Event};
use crate::core::event::Event;
use crate::core::layout;
use crate::core::mouse;
use crate::core::overlay;

View file

@ -2,7 +2,6 @@
use iced_renderer::core::mouse::Click;
use crate::core::event;
use crate::core::layout;
use crate::core::mouse;
use crate::core::overlay;

View file

@ -6,7 +6,7 @@ use crate::core::renderer;
use crate::core::widget::{self, Tree};
use crate::core::{
self, Clipboard, Element, Event, Layout, Point, Rectangle, Shell, Size,
Vector, event,
Vector,
};
use crate::pane_grid::{Draggable, TitleBar};

View file

@ -27,7 +27,6 @@ use iced_runtime::core::widget::Id;
#[cfg(feature = "a11y")]
use std::borrow::Cow;
use crate::core::event;
use crate::core::keyboard;
use crate::core::layout;
use crate::core::mouse;
@ -933,7 +932,7 @@ where
let had_input_method = shell.input_method().is_enabled();
let mut c_event = match event.clone() {
let c_event = match event.clone() {
Event::Dnd(dnd::DndEvent::Offer(
id,
dnd::OfferEvent::Enter {

View file

@ -1,6 +1,5 @@
//! Display content on top of other content.
use crate::core::event;
use crate::core::layout;
use crate::core::mouse;
use crate::core::overlay;

View file

@ -1,6 +1,5 @@
use crate::container;
use crate::core::event;
use crate::core::layout;
use crate::core::mouse;
use crate::core::overlay;

View file

@ -37,7 +37,6 @@ use std::borrow::Cow;
use iced_runtime::core::border::Radius;
use crate::core::alignment;
use crate::core::border;
use crate::core::layout;
use crate::core::mouse;
use crate::core::renderer;
@ -510,7 +509,7 @@ where
let space = style.handle_margin;
let toggler_background_bounds = Rectangle {
let _toggler_background_bounds = Rectangle {
x: bounds.x,
y: bounds.y,
width: bounds.width,
@ -530,7 +529,7 @@ where
style.background,
);
let padding = (style.padding_ratio * bounds.height).round();
let _padding = (style.padding_ratio * bounds.height).round();
let toggler_foreground_bounds = Rectangle {
x: bounds.x
+ if self.is_toggled {