Update with root_group for CP 9 compatibility

This commit is contained in:
Paul Cutler 2023-11-03 06:17:24 -05:00
parent 4e87430b71
commit f1dc25170e
2 changed files with 2 additions and 2 deletions

View file

@ -97,7 +97,7 @@ Usage Example
# t = displayio.TileGrid(pic, pixel_shader=pic.pixel_shader)
g.append(t)
display.show(g)
display.root_group = g
display.refresh()

View file

@ -58,7 +58,7 @@ with open("/display-ruler.bmp", "rb") as f:
g.append(t)
# Place the display group on the screen (does not refresh)
display.show(g)
display.root_group = g
# Show the image on the display
display.refresh()