Skip to content

Commit

Permalink
Replace depreciated .show fixes #37
Browse files Browse the repository at this point in the history
  • Loading branch information
RetiredWizard committed Nov 2, 2023
1 parent 97983d7 commit b6706d7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion examples/cursorcontrol_buttons_debounced.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
splash.append(select_button)
splash.append(a_button)
splash.append(b_button)
display.show(splash)
display.root_group = splash

while True:
debounced_cursor.update()
Expand Down
2 changes: 1 addition & 1 deletion examples/cursorcontrol_buttons_text.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
cursor = CursorManager(mouse_cursor)

# show displayio group
display.show(splash)
display.root_group = splash

prev_btn = None
while True:
Expand Down
2 changes: 1 addition & 1 deletion examples/cursorcontrol_custom_cursor.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
cursor = CursorManager(mouse_cursor)

# show displayio group
display.show(splash)
display.root_group = splash

while True:
cursor.update()
Expand Down
2 changes: 1 addition & 1 deletion examples/cursorcontrol_simpletest.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
cursor = CursorManager(mouse_cursor)

# show displayio group
display.show(splash)
display.root_group = splash

while True:
cursor.update()
Expand Down

0 comments on commit b6706d7

Please sign in to comment.