refactor!: remove cosmic::iced_* re-exports
This commit is contained in:
parent
d9121d6f0d
commit
5d1dfc4c54
18 changed files with 77 additions and 100 deletions
|
|
@ -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>>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue