Skip to content

Commit 11f7fe8

Browse files
committed
Include load_glyphs of full text string prior to character-processing loop in _update_text
1 parent dc3dcd2 commit 11f7fe8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

adafruit_display_text/label.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,7 @@ def _update_text(
237237
else:
238238
i = 0
239239
tilegrid_count = i
240+
self._font.load_glyphs(new_text+"M")
240241
y_offset = int(
241242
(
242243
self._font.get_glyph(ord("M")).height

0 commit comments

Comments
 (0)