This commit is contained in:
Lukas Schulz 2020-12-20 01:05:25 +01:00
parent 47f2ee5ec7
commit 2d3df38540

View file

@ -107,7 +107,7 @@ def scrolling_text(text,offset_x=0,offset_y=0):
scrolled_text = ImageDraw.Draw(scrolled_text_canvas) scrolled_text = ImageDraw.Draw(scrolled_text_canvas)
scrolled_text.text((-i,0), text) scrolled_text.text((-i,0), text)
showImage(scrolled_text_canvas, offset_x, offset_y) showImage(scrolled_text_canvas, offset_x, offset_y)
time.sleep(1) time.sleep(0.1)
print('scrolled '+str(i)+' px') print('scrolled '+str(i)+' px')