33# SPDX-License-Identifier: MIT
44
55"""
6- `adafruit_cursorcontrol`
6+ `adafruit_cursorcontrol.cursorcontrol `
77================================================================================
88
99Mouse cursor for interaction with CircuitPython UI elements.
2323import displayio
2424
2525__version__ = "0.0.0-auto.0"
26- __repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_Cursor .git"
26+ __repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_CursorControl .git"
2727
2828
2929class Cursor :
@@ -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