Skip to content

Commit 2fdd09b

Browse files
authored
Update label.py
fix for missing _anchor_point in init
1 parent 3c1734b commit 2fdd09b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

adafruit_display_text/label.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,8 @@ def __init__(self, font, *, text=None, max_glyphs=None, color=0xffffff,
6565
self.width = max_glyphs
6666
self.font = font
6767
self._text = None
68-
68+
self._anchor_point = (0, 0)
69+
6970
self.palette = displayio.Palette(2)
7071
self.palette.make_transparent(0)
7172
self.palette[1] = color

0 commit comments

Comments
 (0)