missed parem
This commit is contained in:
parent
1f24767658
commit
f454d88877
@ -86,7 +86,7 @@ class SoundslabDisplay:
|
|||||||
|
|
||||||
|
|
||||||
# a translucent red background rectangle for the menu area itself
|
# a translucent red background rectangle for the menu area itself
|
||||||
menu_overlay.rectangle([(21,21), (self.screen_size[0] - 21,self.screen_size[1] - 21)], (200, 0, 0, 127)
|
menu_overlay.rectangle([(21,21), (self.screen_size[0] - 21,self.screen_size[1] - 21)], (200, 0, 0, 127))
|
||||||
|
|
||||||
offset_from_top = 21 # start at the 21st row of pixels to draw inside the outer overlay
|
offset_from_top = 21 # start at the 21st row of pixels to draw inside the outer overlay
|
||||||
font = ImageFont.truetype(font='/usr/share/fonts/truetype/hack/HackRegular.ttf', size=14)
|
font = ImageFont.truetype(font='/usr/share/fonts/truetype/hack/HackRegular.ttf', size=14)
|
||||||
|
Loading…
Reference in New Issue
Block a user