implementing PlayNext media
This commit is contained in:
parent
9d5654cd8e
commit
74fa8baa55
3 changed files with 68 additions and 15 deletions
|
|
@ -70,6 +70,12 @@ impl ProjectNode {
|
|||
Self::File { name, .. } => name,
|
||||
}
|
||||
}
|
||||
|
||||
pub fn flip_open(&mut self) {
|
||||
if let Self::Folder { open, .. } = self {
|
||||
*open = !*open;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
impl Ord for ProjectNode {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue