Skip to content

Commit ccfe9a6

Browse files
Remove max_size usage with displayio.Group
Remove max_glyphs usage with Display_Text Label
1 parent bd7536a commit ccfe9a6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Metro_Matrix_Clock/metro_matrix_clock.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
network = Network(status_neopixel=board.NEOPIXEL, debug=False)
2929

3030
# --- Drawing setup ---
31-
group = displayio.Group(max_size=4) # Create a Group
31+
group = displayio.Group() # Create a Group
3232
bitmap = displayio.Bitmap(64, 32, 2) # Create a bitmap object,width, height, bit depth
3333
color = displayio.Palette(4) # Create a color palette
3434
color[0] = 0x000000 # black background
@@ -46,7 +46,7 @@
4646
else:
4747
font = terminalio.FONT
4848

49-
clock_label = Label(font, max_glyphs=6)
49+
clock_label = Label(font)
5050

5151

5252
def update_time(*, hours=None, minutes=None, show_colon=False):

0 commit comments

Comments
 (0)