diff --git a/adafruit_display_text/bitmap_label.py b/adafruit_display_text/bitmap_label.py index fc6716b..f171d35 100755 --- a/adafruit_display_text/bitmap_label.py +++ b/adafruit_display_text/bitmap_label.py @@ -157,7 +157,7 @@ def _reset_text( loose_box_y, loose_y_offset, ) = self._text_bounding_box( - self._text, + text, self._font, ) # calculate the box size for a tight and loose backgrounds @@ -179,7 +179,7 @@ def _reset_text( # Place the text into the Bitmap self._place_text( self._bitmap, - self._text, + text, self._font, self._padding_left - x_offset, self._padding_top + y_offset,