Skip to content

Commit df982a2

Browse files
Merge pull request #4 from lesamouraipourpre/max-size
Remove max_size parameter
2 parents 3485d5d + b686726 commit df982a2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

displayio_annotation.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ def __init__(
181181
self._line0 = Line(line_x0, line_y0, line_x1, line_y1, color=line_color)
182182
self._line1 = Line(line_x1, line_y1, line_x2, line_y2, color=line_color)
183183

184-
super().__init__(max_size=3)
184+
super().__init__()
185185
# Group elements:
186186
# 0. Line0 - from (x,y) to (x+delta_x, y+delta_y)
187187
# 1. Line1 - horizontal line for text

examples/displayio_annotation_simpletest.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
text="Freeform annotation (display.width, height)",
6060
)
6161

62-
my_group = displayio.Group(max_size=4)
62+
my_group = displayio.Group()
6363
my_group.append(my_switch)
6464
my_group.append(switch_annotation)
6565
my_group.append(switch_annotation_under)

0 commit comments

Comments
 (0)