removing useless step

This commit is contained in:
Jérémie GABOLDE 2025-02-28 01:26:42 +01:00
parent 982f7144bf
commit 63c0ca85b9
1 changed files with 4 additions and 3 deletions

View File

@ -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: