Skip to content

Commit b593468

Browse files
Remove max_size parameter
1 parent bdfc422 commit b593468

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

adafruit_cursorcontrol/cursorcontrol.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class Cursor:
4444
display = board.DISPLAY
4545
4646
# Create the display context
47-
splash = displayio.Group(max_size=22)
47+
splash = displayio.Group()
4848
4949
# initialize the mouse cursor object
5050
mouse_cursor = Cursor(display, display_group=splash)
@@ -227,7 +227,7 @@ def cursor_bitmap(self, bmp):
227227
def generate_cursor(self, bmp):
228228
"""Generates a cursor icon"""
229229
self._is_deinited()
230-
self._cursor_grp = displayio.Group(max_size=1, scale=self._scale)
230+
self._cursor_grp = displayio.Group(scale=self._scale)
231231
self._cur_palette = displayio.Palette(3)
232232
self._cur_palette.make_transparent(0)
233233
self._cur_palette[1] = 0xFFFFFF

0 commit comments

Comments
 (0)