Skip to content

Commit c3a3c03

Browse files
authored
Merge pull request #18 from prcutler/root-group-fix
Update with root_group for CP 9 compatibility
2 parents 4e87430 + f1dc251 commit c3a3c03

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ Usage Example
9797
# t = displayio.TileGrid(pic, pixel_shader=pic.pixel_shader)
9898
g.append(t)
9999
100-
display.show(g)
100+
display.root_group = g
101101
102102
display.refresh()
103103

examples/il91874_simpletest.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
g.append(t)
5959

6060
# Place the display group on the screen (does not refresh)
61-
display.show(g)
61+
display.root_group = g
6262

6363
# Show the image on the display
6464
display.refresh()

0 commit comments

Comments
 (0)