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 d2b44c5 + a19e3c3 commit d507c98Copy full SHA for d507c98
adafruit_display_text/bitmap_label.py
@@ -157,7 +157,7 @@ def _reset_text(
157
loose_box_y,
158
loose_y_offset,
159
) = self._text_bounding_box(
160
- self._text,
+ text,
161
self._font,
162
) # calculate the box size for a tight and loose backgrounds
163
@@ -179,7 +179,7 @@ def _reset_text(
179
# Place the text into the Bitmap
180
self._place_text(
181
self._bitmap,
182
183
184
self._padding_left - x_offset,
185
self._padding_top + y_offset,
0 commit comments