This commit is contained in:
Lukas Schulz 2020-12-20 00:59:02 +01:00
parent 3a4255a3b9
commit 5a1cea1cc4

View file

@ -104,6 +104,8 @@ def scrolling_text(text,offset_x=0,offset_y=0):
scrolled_text = ImageDraw.Draw(scrolled_text) scrolled_text = ImageDraw.Draw(scrolled_text)
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)
print('scrolled '+i)