Skip to content

Commit 5f1ee02

Browse files
authored
Merge pull request #1684 from lesamouraipourpre/matrix-on-air
Matrix On Air: Update for CP7
2 parents 16ba302 + a114ddf commit 5f1ee02

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

Matrix_On_Air/matrix_on_air.py

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646

4747
# --- Drawing setup ---
4848
# Create a Group
49-
group = displayio.Group(max_size=22)
49+
group = displayio.Group()
5050
# Create a bitmap object
5151
bitmap = displayio.Bitmap(64, 32, 2) # width, height, bit depth
5252
# Create a color palette
@@ -117,15 +117,11 @@ def redraw_wings(index): # to change colors
117117
air_y = 25
118118

119119

120-
text_line1 = adafruit_display_text.label.Label(
121-
deco_font, color=color[3], text="OFF", max_glyphs=6
122-
)
120+
text_line1 = adafruit_display_text.label.Label(deco_font, color=color[3], text="OFF")
123121
text_line1.x = off_x
124122
text_line1.y = off_y
125123

126-
text_line2 = adafruit_display_text.label.Label(
127-
deco_font, color=color[1], text="AIR", max_glyphs=6
128-
)
124+
text_line2 = adafruit_display_text.label.Label(deco_font, color=color[1], text="AIR")
129125
text_line2.x = air_x
130126
text_line2.y = air_y
131127

0 commit comments

Comments
 (0)