yes.
This commit is contained in:
parent
df3e69c81e
commit
7a65318ef4
1 changed files with 2 additions and 2 deletions
4
main.py
4
main.py
|
@ -139,7 +139,7 @@ def scrollDownSongInfo(offset_x=0,offset_y=96):
|
|||
songinfo.text((songinfo_offset_x,i), artist_name)
|
||||
song_info_canvas.paste(cover_art,(0,i))
|
||||
showImage(song_info_canvas, offset_x, offset_y)
|
||||
time.sleep(0.01)
|
||||
time.sleep(0.001)
|
||||
|
||||
def scrollUpSongInfo(offset_x=0, offset_y=96):
|
||||
cover_art = get_track()
|
||||
|
@ -153,7 +153,7 @@ def scrollUpSongInfo(offset_x=0, offset_y=96):
|
|||
songinfo.text((songinfo_offset_x,(33-i)), artist_name)
|
||||
song_info_canvas.paste(cover_art,(0,(33-i)))
|
||||
showImage(song_info_canvas, offset_x, offset_y)
|
||||
time.sleep(0.01)
|
||||
time.sleep(0.001)
|
||||
|
||||
def scrolling_text(text,offset_x=0,offset_y=0):
|
||||
scroll_frame_time = (8/2)/(font.getsize(text)[0]-160)
|
||||
|
|
Loading…
Reference in a new issue