diff --git a/src/ui/library.rs b/src/ui/library.rs index 59da170..c89ed15 100644 --- a/src/ui/library.rs +++ b/src/ui/library.rs @@ -1,7 +1,7 @@ use cosmic::{ iced::{ - alignment::Vertical, futures::FutureExt, Background, Border, - Color, Length, + alignment::Vertical, clipboard::dnd::DndAction, + futures::FutureExt, Background, Border, Color, Length, }, iced_widget::{column, row as rowm, text as textm}, theme, @@ -385,6 +385,7 @@ impl<'a> Library { )), )), ) + .action(DndAction::Copy) // .drag_icon(move |i| { // let state = // drag_item.as_widget().state(); diff --git a/src/ui/presenter.rs b/src/ui/presenter.rs index 7b6b91a..5eeb1cf 100644 --- a/src/ui/presenter.rs +++ b/src/ui/presenter.rs @@ -552,7 +552,7 @@ pub(crate) fn slide_view<'a>( .text(slide_text) .fill("#fff") .shadow(shadow(2, 2, 5, "#000000")) - .stroke(stroke(2, "#000")) + .stroke(stroke(1, "#000")) .font(font) .view() .map(|m| Message::None);