refactor!: remove cosmic::iced_* re-exports

This commit is contained in:
Adam Cosner 2026-04-08 01:12:10 +00:00 committed by GitHub
parent d9121d6f0d
commit 5d1dfc4c54
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
18 changed files with 77 additions and 100 deletions

View file

@ -7,23 +7,24 @@ use iced::Vector;
use crate::{
Element,
iced::{
Event, Length, Rectangle,
clipboard::{
dnd::{self, DndAction, DndDestinationRectangle, DndEvent, OfferEvent},
mime::AllowedMimeTypes,
},
event,
id::Internal,
mouse, overlay,
},
iced_core::{
self, Clipboard, Shell, layout,
widget::{Tree, tree},
},
widget::{Id, Widget},
};
use iced::{
Event, Length, Rectangle,
clipboard::{
dnd::{self, DndAction, DndDestinationRectangle, DndEvent, OfferEvent},
mime::AllowedMimeTypes,
},
event,
id::Internal,
mouse, overlay,
};
use iced_core::{
self, Clipboard, Shell, layout,
widget::{Tree, tree},
};
pub fn dnd_destination<'a, Message: 'static>(
child: impl Into<Element<'a, Message>>,
mimes: Vec<Cow<'static, str>>,