Display album name for playable objects (#268)

* display album name

* give proper name to the space key

fixes #266

* use 50% for center offset

Co-authored-by: Henrik Friedrichsen <henrik@affekt.org>
This commit is contained in:
Moshe Sherman
2020-09-28 23:28:10 +03:00
committed by GitHub
parent cded15f50c
commit 77e5de562d
9 changed files with 47 additions and 2 deletions

View File

@@ -76,6 +76,10 @@ impl ListItem for Playable {
self.as_listitem().display_left()
}
fn display_center(&self) -> String {
self.as_listitem().display_center()
}
fn display_right(&self, library: Arc<Library>) -> String {
self.as_listitem().display_right(library)
}