1
0
forked from ndyer/pygame-dvd

changed brightness of mini logos (better for OLED)

This commit is contained in:
Nicholas Dyer 2025-01-06 22:53:20 -05:00
parent d779ea357e
commit 827a781f24
Signed by: ndyer
GPG Key ID: B4FEDEE7298D2503

View File

@ -82,9 +82,9 @@ class SteamLogo(pygame.sprite.Sprite):
random.randint(64, 255), random.randint(64, 255),
random.randint(64, 255)) random.randint(64, 255))
# If this is a mini logo, make it 90% darker # If this is a mini logo, make it 80% darker
if self.is_mini: if self.is_mini:
color_surface.fill(tuple(int(x / 10) for x in new_color)) color_surface.fill(tuple(int(x / 5) for x in new_color))
else: # If not, make it the generated color. else: # If not, make it the generated color.
color_surface.fill(new_color) color_surface.fill(new_color)