style: vertically center headlines in the bottom box

Made-with: Cursor
This commit is contained in:
cottongin
2026-04-06 20:50:02 -04:00
parent 775df4b79e
commit 7c9c32bd0e

View File

@@ -80,7 +80,7 @@ def _draw_text_overlays(
[(0, strip_top), (width, height)], fill=(0, 0, 0, 170)
)
max_width = width - 32
y = strip_top + 8
y = strip_top + 14
for headline in headlines[:max_headlines]:
text = f"\u2022 {headline}"
text = _truncate_to_width(text, headline_font, max_width)