Skip to content

Commit

Permalink
Merge pull request #49 from prcutler/root-group-fix
Browse files Browse the repository at this point in the history
Update root_group for CP 9 compatibility
  • Loading branch information
dhalbert committed Nov 3, 2023
2 parents 6490c5d + a8efc29 commit 3e018c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/macropad_grid_layout.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
macropad = MacroPad()

main_group = displayio.Group()
macropad.display.show(main_group)
macropad.display.root_group = main_group
title = label.Label(
y=4,
font=terminalio.FONT,
Expand Down
2 changes: 1 addition & 1 deletion examples/macropad_rainbow_keys.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
macropad = MacroPad()

main_group = displayio.Group()
macropad.display.show(main_group)
macropad.display.root_group = main_group
title = label.Label(
y=4,
font=terminalio.FONT,
Expand Down

0 comments on commit 3e018c2

Please sign in to comment.