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:
parent
614630bea8
commit
a36a1d59c6
10 changed files with 466 additions and 512 deletions
|
@ -36,6 +36,12 @@ pub struct Song {
|
|||
pub font_size: Option<i32>,
|
||||
}
|
||||
|
||||
impl From<&Song> for Value {
|
||||
fn from(value: &Song) -> Self {
|
||||
Self::List(vec![Self::Symbol(Symbol("song".into()))])
|
||||
}
|
||||
}
|
||||
|
||||
impl Content for Song {
|
||||
fn title(&self) -> String {
|
||||
self.title.clone()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue