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"
|
color="black"
|
||||||
else:
|
else:
|
||||||
font=fontnormal
|
font=fontnormal
|
||||||
color="white" if (letter == '█') else "grey"
|
color="grey"
|
||||||
# drawing a box if the letter is █
|
# drawing a black box if the letter is █
|
||||||
if (letter == '█'):
|
if (letter == '█'):
|
||||||
|
if (element):
|
||||||
codexdraw.rectangle([(j*textsize, i*textsize), (j*textsize+textsize, i*textsize+textsize)] , fill =color)
|
codexdraw.rectangle([(j*textsize, i*textsize), (j*textsize+textsize, i*textsize+textsize)] , fill =color)
|
||||||
# drawing the letter
|
# drawing the letter
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue