channel logo movement

This commit is contained in:
Chuck
2025-07-22 17:24:46 -05:00
parent eed0baec53
commit 2199dd4e05
2 changed files with 25 additions and 17 deletions

View File

@@ -722,6 +722,9 @@ class OddsTickerManager:
logo_y = (height - broadcast_logo.height) // 2
logger.debug(f"Pasting broadcast logo at ({int(current_x)}, {logo_y})")
image.paste(broadcast_logo, (int(current_x), logo_y), broadcast_logo if broadcast_logo.mode == 'RGBA' else None)
elif not broadcast_logo:
# Add padding even if there's no logo to match total_width calculation
current_x += h_padding
return image