We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 66e64e8 + 3ea6b12 commit e05484aCopy full SHA for e05484a
CircuitPython_SharpDisplay_Displayio/code.py
@@ -234,13 +234,5 @@ def sample(population, k):
234
with BatchDisplayUpdate(display):
235
for i in range(2):
236
names_font[i].text = lines[i]
237
-
238
- # Due to a bug in adafruit_display_text, we need to reestablish
239
- # the position of the labels when updating them.
240
- # Once https://github.com/adafruit/Adafruit_CircuitPython_Display_Text/issues/82
241
- # has been resolved, this code will no longer be necessary (but
242
- # will not be harmful either)
243
- names_font[i].anchor_point = (0.5, 0)
244
- names_font[i].anchored_position = (200, i*84+42)
245
time.sleep(5)
246
names_font[0].text = names_font[1].text = ""
0 commit comments