some small changes
parent
31fa95f24f
commit
6b397524c5
|
@ -148,7 +148,7 @@ def prepare_text_block(st):
|
||||||
|
|
||||||
def print_text(block):
|
def print_text(block):
|
||||||
print(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):
|
for y in range(0, 5):
|
||||||
print(x,y)
|
print(x,y)
|
||||||
if block[x][y] == '1':
|
if block[x][y] == '1':
|
||||||
|
@ -174,5 +174,5 @@ def render_thread(name):
|
||||||
flush_render()
|
flush_render()
|
||||||
time.sleep(0.125)
|
time.sleep(0.125)
|
||||||
current_text_offset+=1
|
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
|
current_text_offset = 0
|
||||||
|
|
Loading…
Reference in New Issue