oopsie
This commit is contained in:
parent
9c4c9774ca
commit
8866e31919
|
@ -64,7 +64,9 @@ class AsyncBotManager:
|
||||||
"LA", (int(right - left) + 4, int(bottom - top) + 16), 0
|
"LA", (int(right - left) + 4, int(bottom - top) + 16), 0
|
||||||
) as im:
|
) as im:
|
||||||
draw = ImageDraw.Draw(im)
|
draw = ImageDraw.Draw(im)
|
||||||
draw.rectangle((0, 0, im.width, im.height), (0, 0))
|
draw.rectangle(
|
||||||
|
(0, 0, im.width, im.height), (255 if negative else 0, 0)
|
||||||
|
)
|
||||||
draw.text(
|
draw.text(
|
||||||
(left + 2, top + 2),
|
(left + 2, top + 2),
|
||||||
text,
|
text,
|
||||||
|
|
Loading…
Reference in New Issue