fix font filename

This commit is contained in:
Sundog Jones 2020-08-02 12:39:41 -07:00
parent b302b3c6d0
commit 36b1fd4aa8
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ class SoundslabDisplay:
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
font = ImageFont.truetype(font='/usr/share/fonts/truetype/hack/HackRegular.ttf', size=14)
font = ImageFont.truetype(font='/usr/share/fonts/truetype/hack/Hack-Regular.ttf', size=14)
for row in menu_data:
if row.selected:
menu_overlay.rectangle([(21, offset_from_top),(self.screen_size[0] - 21, offset_from_top + 40)], self.bg_color) # highlight background for selected menu item