Skip to content

Commit 9a87c0e

Browse files
authored
Merge pull request #1192 from FoamyGuy/clue_sensor_plotter_memory_fix
Clue sensor plotter memory fix
2 parents d15e57a + 5a13f44 commit 9a87c0e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

CLUE_Sensor_Plotter/plotter.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -782,8 +782,10 @@ def info(self, value):
782782
self._displayio_info = Label(self._font, text=value,
783783
line_spacing=line_spacing,
784784
scale=font_scale,
785-
background_color=self.INFO_FG_COLOR,
785+
background_color=None,
786786
color=self.INFO_BG_COLOR)
787+
self._displayio_info.palette[0] = self.INFO_FG_COLOR
788+
self._displayio_info.palette.make_opaque(0)
787789
# centre the (left justified) text
788790
self._displayio_info.x = (self._screen_width
789791
- font_scale * font_w * max_word_chars) // 2

0 commit comments

Comments
 (0)