From 7a65318ef4dd9fbc9173625a29aa93ce181c9bf9 Mon Sep 17 00:00:00 2001 From: Lukas Schulz Date: Sun, 20 Dec 2020 13:48:27 +0100 Subject: [PATCH] yes. --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index be2737d..2199f4a 100644 --- a/main.py +++ b/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)