adafruit / Adafruit_CircuitPython_Display_Text

Library to display text using displayio
MIT License
57 stars 38 forks source link

Fix error from save_text = False #160

Closed tekktrik closed 2 years ago

tekktrik commented 2 years ago

This PR should address Issue #157 but I don't have the hardware to test, just followed the code to figure out what was happening. Use of local variable text instead of self._text should fix the issue.

PaulskPt commented 2 years ago

I applied the changes to bitmap_label.py. As far as I can see it works. No crash. See the annotated screenshot.

adafruit_display_text__bitmap_label py_mod_by_tekktrik

tekktrik commented 2 years ago

Yahoo! That's great to hear!

tekktrik commented 2 years ago

My pleasure, thanks everyone for the help and support in addressing the issue!