forked from ndyer/pygame-dvd
changed how small the mini logos can be
This commit is contained in:
parent
194852b77f
commit
d779ea357e
@ -35,9 +35,9 @@ class SteamLogo(pygame.sprite.Sprite):
|
||||
self.base_image.convert_alpha()
|
||||
|
||||
logo_scaling = min(window_size) * SCALE_RATIO
|
||||
# If the logo is mini, make it 2 to 4 times smaller
|
||||
# If the logo is mini, make it 2 to 3 times smaller
|
||||
if is_mini:
|
||||
logo_scaling /= random.uniform(2, 4)
|
||||
logo_scaling /= random.uniform(2, 3)
|
||||
self.base_image = pygame.transform.smoothscale(self.base_image,
|
||||
(self.base_image.get_width() * logo_scaling,
|
||||
self.base_image.get_height() * logo_scaling))
|
||||
|
Loading…
Reference in New Issue
Block a user