Improve alerts positioning
This commit is contained in:
parent
e94062158a
commit
5090e8068d
2 changed files with 12 additions and 9 deletions
|
|
@ -347,6 +347,7 @@ class RATPNextStopModule:
|
|||
"icon": "wi-earthquake.png",
|
||||
})
|
||||
|
||||
align -= int(line_height * 0.33)
|
||||
image = image.crop((0,0,width, min(align, height)))
|
||||
|
||||
return image, alerts
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue