mirror of
https://github.com/Febbweiss/mopidy-touchscreen.git
synced 2026-03-04 22:25:39 +00:00
Transparent progressbar
This commit is contained in:
@@ -244,7 +244,7 @@ class Progressbar(TouchObject):
|
||||
self.value = 0
|
||||
self.max = max_value
|
||||
self.back_color = (0, 0, 0, 128)
|
||||
self.main_color = (0, 150, 255)
|
||||
self.main_color = (0, 150, 255, 150)
|
||||
self.surface = pygame.Surface(self.size, pygame.SRCALPHA)\
|
||||
.convert_alpha()
|
||||
self.surface.fill(self.back_color)
|
||||
|
||||
Reference in New Issue
Block a user