ratp: Center one line icons
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
b334376ea0
commit
f7f97595f2
@ -511,7 +511,7 @@ class RATPNextStopModule:
|
||||
prep[s["destination"]].append(s)
|
||||
|
||||
icon = IDFMAPI.get_line_icon(config, mode, line, int(line_height*(1.5 if len(prep.keys()) > 1 else 1)))
|
||||
image.paste(icon, (0, align), icon)
|
||||
image.paste(icon, (0 if len(prep.keys()) > 1 else int(line_height * 1.5 / 2 - icon.width / 2), align), icon)
|
||||
|
||||
max_dest = 64
|
||||
for dest, msgs in prep.items():
|
||||
|
Loading…
Reference in New Issue
Block a user