3
3
# SPDX-License-Identifier: MIT
4
4
5
5
"""
6
- `adafruit_cursorcontrol`
6
+ `adafruit_cursorcontrol.cursorcontrol `
7
7
================================================================================
8
8
9
9
Mouse cursor for interaction with CircuitPython UI elements.
23
23
import displayio
24
24
25
25
__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"
27
27
28
28
29
29
class Cursor :
@@ -44,7 +44,7 @@ class Cursor:
44
44
display = board.DISPLAY
45
45
46
46
# Create the display context
47
- splash = displayio.Group(max_size=22 )
47
+ splash = displayio.Group()
48
48
49
49
# initialize the mouse cursor object
50
50
mouse_cursor = Cursor(display, display_group=splash)
@@ -227,7 +227,7 @@ def cursor_bitmap(self, bmp):
227
227
def generate_cursor (self , bmp ):
228
228
"""Generates a cursor icon"""
229
229
self ._is_deinited ()
230
- self ._cursor_grp = displayio .Group (max_size = 1 , scale = self ._scale )
230
+ self ._cursor_grp = displayio .Group (scale = self ._scale )
231
231
self ._cur_palette = displayio .Palette (3 )
232
232
self ._cur_palette .make_transparent (0 )
233
233
self ._cur_palette [1 ] = 0xFFFFFF
0 commit comments