From ed0fdc0287ca46426242a7a98011328590d38fec Mon Sep 17 00:00:00 2001 From: Paul Cutler Date: Thu, 2 Nov 2023 20:22:21 -0500 Subject: [PATCH] Update root_group for CP 9 compatibility --- README.rst | 2 +- examples/esp32s2tft_simpletest.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index eb2fe43..3d93f18 100644 --- a/README.rst +++ b/README.rst @@ -95,7 +95,7 @@ Usage Example text_anchor_point=(0.5, 0.5), text_color=0x606060, ) - esp32s2tft.display.show(esp32s2tft.splash) + esp32s2tft.display.root_group = esp32s2tft.splash while True: esp32s2tft.set_text_color( diff --git a/examples/esp32s2tft_simpletest.py b/examples/esp32s2tft_simpletest.py index 29a3f68..5864512 100644 --- a/examples/esp32s2tft_simpletest.py +++ b/examples/esp32s2tft_simpletest.py @@ -26,7 +26,7 @@ text_anchor_point=(0.5, 0.5), text_color=0x606060, ) -esp32s2tft.display.show(esp32s2tft.splash) +esp32s2tft.display.root_group = esp32s2tft.splash while True: esp32s2tft.set_text_color(