From a8efc29aef70d5dea21c686e1271eb88fcb0a84a Mon Sep 17 00:00:00 2001 From: Paul Cutler Date: Fri, 3 Nov 2023 07:23:08 -0500 Subject: [PATCH] Update root_group for CP 9 compatibility --- examples/macropad_grid_layout.py | 2 +- examples/macropad_rainbow_keys.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/macropad_grid_layout.py b/examples/macropad_grid_layout.py index 6f8f917..ee8469a 100644 --- a/examples/macropad_grid_layout.py +++ b/examples/macropad_grid_layout.py @@ -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, diff --git a/examples/macropad_rainbow_keys.py b/examples/macropad_rainbow_keys.py index e3e2a1b..d13c8af 100644 --- a/examples/macropad_rainbow_keys.py +++ b/examples/macropad_rainbow_keys.py @@ -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,