diff --git a/displayio_annotation.py b/displayio_annotation.py index 65c9003..78b949a 100644 --- a/displayio_annotation.py +++ b/displayio_annotation.py @@ -181,7 +181,7 @@ def __init__( self._line0 = Line(line_x0, line_y0, line_x1, line_y1, color=line_color) self._line1 = Line(line_x1, line_y1, line_x2, line_y2, color=line_color) - super().__init__(max_size=3) + super().__init__() # Group elements: # 0. Line0 - from (x,y) to (x+delta_x, y+delta_y) # 1. Line1 - horizontal line for text diff --git a/examples/displayio_annotation_simpletest.py b/examples/displayio_annotation_simpletest.py index f958c38..671ed1e 100644 --- a/examples/displayio_annotation_simpletest.py +++ b/examples/displayio_annotation_simpletest.py @@ -59,7 +59,7 @@ text="Freeform annotation (display.width, height)", ) -my_group = displayio.Group(max_size=4) +my_group = displayio.Group() my_group.append(my_switch) my_group.append(switch_annotation) my_group.append(switch_annotation_under)