Drag and Drop works ok now.

The main functionality works but only in cosmic desktop. So there are
some issues that need to be worked out yet in regards to libcosmic.
This commit is contained in:
Chris Cochrun 2025-02-20 06:53:54 -06:00
parent 614630bea8
commit a36a1d59c6
10 changed files with 466 additions and 512 deletions

View file

@ -194,6 +194,12 @@ pub struct Slide {
video_end_time: f32,
}
impl From<&Slide> for Value {
fn from(value: &Slide) -> Self {
Self::List(vec![Self::Symbol(Symbol("slide".into()))])
}
}
impl Slide {
pub fn background(&self) -> &Background {
&self.background