Skip to content

Commit 46b04fe

Browse files
committed
fix for setting background to visible black
1 parent 80ebaa9 commit 46b04fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_display_text/label.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ def background_color(self):
182182

183183
@background_color.setter
184184
def background_color(self, new_color):
185-
if new_color:
185+
if new_color or new_color == 0x000000:
186186
self.palette[0] = new_color
187187
self.palette.make_opaque(0)
188188
self.transparent_background = False

0 commit comments

Comments
 (0)