Skip to content

Commit d645ce4

Browse files
authored
Portal eyes: TileGrid has its own height property now
Don't try to set the height property of Sprite, because [it now inherits it from displayio.TileGrid](adafruit/circuitpython#5749).
1 parent e0610c2 commit d645ce4

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Matrix_Portal_Eyes/code.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ def __init__(self, filename, transparent=None):
5353
elif isinstance(transparent, int):
5454
palette.make_transparent(transparent)
5555
super(Sprite, self).__init__(bitmap, pixel_shader=palette)
56-
self.height = bitmap.height
5756

5857

5958
# ONE-TIME INITIALIZATION --------------------------------------------------

0 commit comments

Comments
 (0)