yes.
This commit is contained in:
parent
a43fc433cf
commit
c4e3684117
1 changed files with 2 additions and 2 deletions
4
main.py
4
main.py
|
@ -102,13 +102,13 @@ def drawCanvas():
|
|||
#scrolling_text(song_name,songinfo_offset_x, songinfo_offset_y+10)
|
||||
global currently_scrolling_title
|
||||
if(font.getsize(song_name)[0]>160 and not currently_scrolling_title):
|
||||
x = threading.Thread(target=scrolling_text,args=(song_name,songinfo_offset_x,songinfo_offset_y+10),currently_scrolling_title)
|
||||
x = threading.Thread(target=scrolling_text,args=(song_name,songinfo_offset_x,songinfo_offset_y+10,currently_scrolling_title))
|
||||
x.start()
|
||||
print('scrolling text started')
|
||||
global currently_scrolling_artist
|
||||
if(font.getsize(artist_name)[0]>160 and not currently_scrolling_artist):
|
||||
|
||||
y = threading.Thread(target=scrolling_text,args=(artist_name,songinfo_offset_x,songinfo_offset_y),currently_scrolling_artist)
|
||||
y = threading.Thread(target=scrolling_text,args=(artist_name,songinfo_offset_x,songinfo_offset_y,currently_scrolling_artist))
|
||||
y.start()
|
||||
|
||||
showImage(canvas)
|
||||
|
|
Loading…
Reference in a new issue