Skip to content

Commit 2294c8d

Browse files
authored
Merge pull request #10 from prcutler/root-group-fix
Update root_group for CP 9 compatibility
2 parents ec8a83e + ed0fdc0 commit 2294c8d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ Usage Example
9595
text_anchor_point=(0.5, 0.5),
9696
text_color=0x606060,
9797
)
98-
esp32s2tft.display.show(esp32s2tft.splash)
98+
esp32s2tft.display.root_group = esp32s2tft.splash
9999
100100
while True:
101101
esp32s2tft.set_text_color(

examples/esp32s2tft_simpletest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
text_anchor_point=(0.5, 0.5),
2727
text_color=0x606060,
2828
)
29-
esp32s2tft.display.show(esp32s2tft.splash)
29+
esp32s2tft.display.root_group = esp32s2tft.splash
3030

3131
while True:
3232
esp32s2tft.set_text_color(

0 commit comments

Comments
 (0)