some small changes
This commit is contained in:
parent
31fa95f24f
commit
6b397524c5
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue