Skip to content

Commit 3e018c2

Browse files
authored
Merge pull request #49 from prcutler/root-group-fix
Update root_group for CP 9 compatibility
2 parents 6490c5d + a8efc29 commit 3e018c2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/macropad_grid_layout.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
macropad = MacroPad()
1515

1616
main_group = displayio.Group()
17-
macropad.display.show(main_group)
17+
macropad.display.root_group = main_group
1818
title = label.Label(
1919
y=4,
2020
font=terminalio.FONT,

examples/macropad_rainbow_keys.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
macropad = MacroPad()
1717

1818
main_group = displayio.Group()
19-
macropad.display.show(main_group)
19+
macropad.display.root_group = main_group
2020
title = label.Label(
2121
y=4,
2222
font=terminalio.FONT,

0 commit comments

Comments
 (0)