We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d15e57a + 5a13f44 commit 9a87c0eCopy full SHA for 9a87c0e
CLUE_Sensor_Plotter/plotter.py
@@ -782,8 +782,10 @@ def info(self, value):
782
self._displayio_info = Label(self._font, text=value,
783
line_spacing=line_spacing,
784
scale=font_scale,
785
- background_color=self.INFO_FG_COLOR,
+ background_color=None,
786
color=self.INFO_BG_COLOR)
787
+ self._displayio_info.palette[0] = self.INFO_FG_COLOR
788
+ self._displayio_info.palette.make_opaque(0)
789
# centre the (left justified) text
790
self._displayio_info.x = (self._screen_width
791
- font_scale * font_w * max_word_chars) // 2
0 commit comments