Skip to content

Commit

Permalink
Merge pull request #65 from RetiredWizard/main
Browse files Browse the repository at this point in the history
Replace depreciated .show in examples
  • Loading branch information
dhalbert authored Nov 2, 2023
2 parents ab3c9cf + c59756a commit 75af76a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion examples/bitmap_font_displayio_simpletest.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
group.append(tile_grid)

# Add the Group to the Display
display.show(group)
display.root_group = group

while True:
pass
2 changes: 1 addition & 1 deletion examples/bitmap_font_label_forkawesome.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
text_area.anchored_position = (display.width // 2, display.height // 2)

# Show it
display.show(text_area)
display.root_group = text_area

while True:
pass
2 changes: 1 addition & 1 deletion examples/bitmap_font_label_magtag.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
text_area.y = 20

# Show it and refresh
display.show(text_area)
display.root_group = text_area
display.refresh()
while True:
pass
2 changes: 1 addition & 1 deletion examples/bitmap_font_label_simpletest.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
text_area.y = 20

# Show it
display.show(text_area)
display.root_group = text_area

while True:
pass

0 comments on commit 75af76a

Please sign in to comment.