From a0e7c662fb22f4a6b78f073c71971a6c52b4df3f Mon Sep 17 00:00:00 2001 From: Chuck <33324927+ChuckBuilds@users.noreply.github.com> Date: Tue, 8 Jul 2025 13:58:41 -0500 Subject: [PATCH] removing spaces from Youtube Subscriber display --- src/youtube_display.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/youtube_display.py b/src/youtube_display.py index 10915666..d827c970 100644 --- a/src/youtube_display.py +++ b/src/youtube_display.py @@ -109,14 +109,14 @@ class YouTubeDisplay: draw.text((name_x, start_y), channel_name, font=self.font, fill=(255, 255, 255)) # Draw subscriber count (middle) - subs_text = f"{channel_stats['subscribers']:,} subs" + subs_text = f"{channel_stats['subscribers']:,}subs" subs_bbox = draw.textbbox((0, 0), subs_text, font=self.font) subs_width = subs_bbox[2] - subs_bbox[0] subs_x = right_section_x + ((self.display_manager.matrix.width - right_section_x - subs_width) // 2) draw.text((subs_x, start_y + line_height), subs_text, font=self.font, fill=(255, 255, 255)) # Draw view count (bottom) - views_text = f"{channel_stats['views']:,} views" + views_text = f"{channel_stats['views']:,}views" views_bbox = draw.textbbox((0, 0), views_text, font=self.font) views_width = views_bbox[2] - views_bbox[0] views_x = right_section_x + ((self.display_manager.matrix.width - right_section_x - views_width) // 2)