Skip to content

Commit

Permalink
Merge pull request #20 from FoamyGuy/display_root_group_fix
Browse files Browse the repository at this point in the history
update display.show to root_group
  • Loading branch information
dhalbert committed Mar 25, 2024
2 parents 9caa9ef + 09d55d1 commit 507e935
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/displayio_sh1107_game_of_life.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def conway(output):
for _ in range(n):
display.root_group = g1
apply_life_rule(b1, b2)
display.show(g2)
display.root_group = g2
apply_life_rule(b2, b1)

# After 2*n generations, fill the board with random values and
Expand Down

0 comments on commit 507e935

Please sign in to comment.