New option to expand alerts on the graphic

This commit is contained in:
nemunaire 2023-01-19 12:56:44 +01:00
commit c84449f034
2 changed files with 11 additions and 3 deletions

View file

@ -185,7 +185,7 @@ class AlertsModule:
fill="white", anchor="rb", font=fnt_B
)
return image
return image, more_alerts
def display_longtext(draw, pos, text, font, anchor="lt", maxwidth=9999, **kwargs):
x,y = pos