Skip to content

Commit b6ec018

Browse files
authored
Merge branch 'bitmap_zero' into bitmap_zeroV2
2 parents 05affa4 + c2e3a79 commit b6ec018

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

adafruit_display_text/label.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,7 @@ def _update_background_color(self, new_color):
206206
else:
207207
self.append(self._create_background_box(lines, y_offset))
208208
self._added_background_tilegrid = True
209+
209210
else: # a bitmap is present in the self Group
210211
# update bitmap if text is present and bitmap sizes > 0 pixels
211212
if (
@@ -312,6 +313,7 @@ def _update_text(
312313
self.pop()
313314
self._text = new_text
314315
self._boundingbox = (left, top, left + right, bottom - top)
316+
315317
self._update_background_color(self._background_color)
316318

317319
@property

0 commit comments

Comments
 (0)