removed asterisk from temperatureadouts

This commit is contained in:
ChuckBuilds
2025-04-17 09:13:48 -05:00
parent bfb2f50942
commit e9157867c5

View File

@@ -430,8 +430,8 @@ class WeatherManager:
icon_x = center_x - icon_size // 2 icon_x = center_x - icon_size // 2
WeatherIcons.draw_weather_icon(draw, forecast['condition'], icon_x, icon_y, icon_size) WeatherIcons.draw_weather_icon(draw, forecast['condition'], icon_x, icon_y, icon_size)
# Draw high/low temperatures at bottom # Draw high/low temperatures at bottom (without degree symbol)
temp_text = f"{forecast['temp_low']}°/{forecast['temp_high']}°" temp_text = f"{forecast['temp_low']}/{forecast['temp_high']}" # Removed degree symbols
temp_width = draw.textlength(temp_text, font=self.display_manager.extra_small_font) temp_width = draw.textlength(temp_text, font=self.display_manager.extra_small_font)
temp_y = self.display_manager.matrix.height - 8 # Position at bottom with small margin temp_y = self.display_manager.matrix.height - 8 # Position at bottom with small margin
draw.text((center_x - temp_width // 2, temp_y), draw.text((center_x - temp_width // 2, temp_y),