Search icons and fonts near the script
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
62fc7eb2f0
commit
1cae3824b2
5 changed files with 32 additions and 20 deletions
2
main.py
2
main.py
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue