From fda52076c1524145c8c123e9824d5f75e52c98e0 Mon Sep 17 00:00:00 2001 From: ChuckBuilds <33324927+ChuckBuilds@users.noreply.github.com> Date: Thu, 17 Apr 2025 19:33:03 -0500 Subject: [PATCH] remove clamp max height, assign icon middle of matrix --- src/weather_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/weather_manager.py b/src/weather_manager.py index d224e2c3..2f5389ee 100644 --- a/src/weather_manager.py +++ b/src/weather_manager.py @@ -369,7 +369,7 @@ class WeatherManager: available_height_for_icon = bottom_text_y - top_text_height # Ensure calculated y is not negative if space is very tight calculated_y = top_text_height + (available_height_for_icon - icon_size) // 2 - icon_y = self.display_manager.matrix.height // 2 + icon_y = (self.display_manager.matrix.height // 2) - 20 icon_x = center_x - icon_size // 2 WeatherIcons.draw_weather_icon(image, forecast['condition'], icon_x, icon_y, icon_size)