Skip to content

Commit

Permalink
image_overlay needs brightness setting when its reloaded
Browse files Browse the repository at this point in the history
  • Loading branch information
paddywwoof committed Aug 21, 2024
1 parent 385d013 commit b9dca96
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/picframe/viewer_display.py
Original file line number Diff line number Diff line change
Expand Up @@ -466,6 +466,7 @@ def __draw_overlay(self):
h=self.__display.height,
z=4.1) # just behind text_bkg
self.__image_overlay.set_draw_details(self.__flat_shader, [overlay_texture])
self.__image_overlay.set_alpha(self.get_brightness())
if self.__image_overlay is not None: # shouldn't be possible to get here otherwise, but just in case!
self.__image_overlay.draw()

Expand Down

0 comments on commit b9dca96

Please sign in to comment.