Color in black line icon for next stop

This commit is contained in:
nemunaire 2024-09-16 06:57:57 +02:00
parent 27314c0c45
commit 835dee0e96

View File

@ -511,7 +511,7 @@ class RATPNextStopModule:
prep[s["destination"]] = []
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)))
icon = IDFMAPI.get_line_icon(config, mode, line, int(line_height*(1.5 if len(prep.keys()) > 1 else 1)), "black")
image.paste(icon, (0 if len(prep.keys()) > 1 else int(line_height * 1.5 / 2 - icon.width / 2), align), icon)
max_dest = 64