Skip to content

Commit 7c8e7d2

Browse files
committed
revert pixel_shader change for script using Sprite instead of TileGrid
1 parent 874a063 commit 7c8e7d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

HalloWing_Cat_Toy/code.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def play_wave(filename):
7373
def show_image(filename):
7474
image_file = open(filename, "rb")
7575
odb = displayio.OnDiskBitmap(image_file)
76-
face = displayio.Sprite(odb, pixel_shader=getattr(odb, 'pixel_shader', displayio.ColorConverter()), position=(0, 0))
76+
face = displayio.Sprite(odb, pixel_shader=displayio.ColorConverter(), position=(0, 0))
7777
backlight.value = False
7878
splash.append(face)
7979
try:

0 commit comments

Comments
 (0)