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 75f76df + c75c053 commit 2908343Copy full SHA for 2908343
Macropad_Hotkeys/code.py
@@ -54,19 +54,19 @@ def switch(self):
54
MACROPAD.pixels.auto_write = False
55
56
# Set up displayio group with all the labels
57
-GROUP = displayio.Group(max_size=14) # 12 keys + rect + app name
+GROUP = displayio.Group()
58
for KEY_INDEX in range(12):
59
x = KEY_INDEX % 3
60
y = KEY_INDEX // 3
61
GROUP.append(label.Label(terminalio.FONT, text='', color=0xFFFFFF,
62
anchored_position=((MACROPAD.display.width - 1) * x / 2,
63
MACROPAD.display.height - 1 -
64
(3 - y) * 12),
65
- anchor_point=(x / 2, 1.0), max_glyphs=15))
+ anchor_point=(x / 2, 1.0)))
66
GROUP.append(Rect(0, 0, MACROPAD.display.width, 12, fill=0xFFFFFF))
67
GROUP.append(label.Label(terminalio.FONT, text='', color=0x000000,
68
anchored_position=(MACROPAD.display.width//2, -2),
69
- anchor_point=(0.5, 0.0), max_glyphs=30))
+ anchor_point=(0.5, 0.0)))
70
MACROPAD.display.show(GROUP)
71
72
# Load all the macro key setups from .py files in MACRO_FOLDER
0 commit comments