some small changes

This commit is contained in:
mantis 2023-09-11 17:54:37 +02:00
parent 31fa95f24f
commit 6b397524c5

View file

@ -148,7 +148,7 @@ def prepare_text_block(st):
def print_text(block):
print(block)
for x in range(current_text_offset, current_text_offset+16):
for x in range(current_text_offset, current_text_offset+12):
for y in range(0, 5):
print(x,y)
if block[x][y] == '1':
@ -174,5 +174,5 @@ def render_thread(name):
flush_render()
time.sleep(0.125)
current_text_offset+=1
if (current_text_offset >= get_string_pixel_length(text)-16):
if (current_text_offset >= get_string_pixel_length(text)-12):
current_text_offset = 0