Skip to content

Commit 0127a8e

Browse files
update for CircuitPython 8.x+/9.0 displayio compatibility
1 parent d76dbe9 commit 0127a8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/palettefilter_graphics_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
display.rotation = ROTATION
5151

5252
primary_disp_layer = displayio.Group(scale=DISPLAY_SCALE)
53-
display.show(primary_disp_layer)
53+
display.root_group = primary_disp_layer
5454

5555
bkg_block = Rect(x=200, y=80, width=80, height=60, fill=BACKGROUND_COLOR)
5656
primary_disp_layer.append(bkg_block)

0 commit comments

Comments
 (0)