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 d855e29 + 1649a68 commit ab0158dCopy full SHA for ab0158d
adafruit_display_text/label.py
@@ -299,7 +299,8 @@ def _update_text(
299
self._text = new_text
300
self._boundingbox = (left, top, left + right, bottom - top)
301
302
- self._update_background_color(self._background_color)
+ if self.background_color is not None:
303
+ self._update_background_color(self._background_color)
304
305
@property
306
def bounding_box(self):
0 commit comments