Skip to content

Commit d2af62f

Browse files
Remove usage of max_glyphs with Label
1 parent 7449f56 commit d2af62f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

adafruit_pybadger/pybadger_base.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -302,9 +302,7 @@ def badge_line(
302302
if isinstance(font, str):
303303
font = load_font(font, text)
304304

305-
text_label = self._label.Label(
306-
font=font, text=text, max_glyphs=45, color=color, scale=scale
307-
)
305+
text_label = self._label.Label(font=font, text=text, color=color, scale=scale)
308306
self._lines.append(text_label)
309307

310308
_, _, width, height = text_label.bounding_box

0 commit comments

Comments
 (0)