Search icons and fonts near the script
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
nemunaire 2023-08-29 13:04:31 +02:00
commit 1cae3824b2
5 changed files with 32 additions and 20 deletions

View file

@ -165,7 +165,7 @@ def main(only_on_coming_evt=False, ignore_module=[], force_coming_event=True, ex
from modules import AlertsModule
mod, more_alerts = AlertsModule(alerts, ignore_module).draw_module(config, 480, min(317, 640 - NEXT_STOP_Y - occuped_space))
mod, more_alerts = AlertsModule(config, alerts, ignore_module).draw_module(config, 480, min(317, 640 - NEXT_STOP_Y - occuped_space))
if NEXT_STOP_Y + occuped_space + mod.height > 580 or mod.height > 260:
image.paste(mod, (0, 640-mod.height), mod)
elif mod.height < 100: