Skip to content

Commit

Permalink
Merge pull request #18 from prcutler/root-group-fix
Browse files Browse the repository at this point in the history
Update with root_group for CP 9 compatibility
  • Loading branch information
dhalbert authored Nov 3, 2023
2 parents 4e87430 + f1dc251 commit c3a3c03
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion examples/il91874_simpletest.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
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()
Expand Down

0 comments on commit c3a3c03

Please sign in to comment.