Skip to content

Commit 9efd1f8

Browse files
Setting __init__ call to self.update to force
If this isn't set to force the update, self._last_animate_time sometimes gets stuck as -1 for a while, thus keeping the label from appearing.
1 parent a0df56c commit 9efd1f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_display_text/scrolling_label.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def __init__(
7171
text = f"{text} "
7272
self._full_text = text
7373

74-
self.update()
74+
self.update(True)
7575

7676
def update(self, force: bool = False) -> None:
7777
"""Attempt to update the display. If ``animate_time`` has elapsed since

0 commit comments

Comments
 (0)