forked from ndyer/pygame-dvd
changed brightness of mini logos (better for OLED)
This commit is contained in:
parent
d779ea357e
commit
827a781f24
@ -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)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user