Use updated screencopy abstraction
This commit is contained in:
parent
a3be974f81
commit
4dc6f8b99f
5 changed files with 127 additions and 265 deletions
|
|
@ -269,10 +269,11 @@ impl DockItem {
|
|||
let icon_button = if dnd_source_enabled && interaction_enabled {
|
||||
dnd_source(icon_button)
|
||||
.window(window_id)
|
||||
.drag_icon(move || {
|
||||
.drag_icon(move |_| {
|
||||
(
|
||||
cosmic_icon.clone().into(),
|
||||
iced::core::widget::tree::State::None,
|
||||
iced::Vector::ZERO,
|
||||
)
|
||||
})
|
||||
.drag_threshold(16.)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue