Scrolling divider no longer visible when a new song is played
This commit is contained in:
parent
27f642033e
commit
5a413dd169
2 changed files with 2 additions and 2 deletions
|
@ -60,7 +60,7 @@ class Module(bumblebee.engine.Module):
|
|||
def spotify(self, widget):
|
||||
#return str(self._song)
|
||||
divider = " -- " if self._scroll_speed != 0 else ""
|
||||
return str(self._song)[self._scroll_position:]+divider+str(self._song)[:self._scroll_position]
|
||||
return (str(self._song)[self._scroll_position:]+divider+str(self._song)[:self._scroll_position])[:-len(divider)]
|
||||
|
||||
def hidden(self):
|
||||
return str(self._song) == ""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue