removing useless step
This commit is contained in:
parent
982f7144bf
commit
63c0ca85b9
|
@ -48,9 +48,10 @@ for i, inner_list in enumerate(boolmatrix):
|
|||
color="black"
|
||||
else:
|
||||
font=fontnormal
|
||||
color="white" if (letter == '█') else "grey"
|
||||
# drawing a box if the letter is █
|
||||
color="grey"
|
||||
# drawing a black box if the letter is █
|
||||
if (letter == '█'):
|
||||
if (element):
|
||||
codexdraw.rectangle([(j*textsize, i*textsize), (j*textsize+textsize, i*textsize+textsize)] , fill =color)
|
||||
# drawing the letter
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue