Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Remove max_size parameter
  • Loading branch information
lesamouraipourpre committed Jul 4, 2021
commit b6867260501b824ce58170681b087545604c9db2
2 changes: 1 addition & 1 deletion displayio_annotation.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion examples/displayio_annotation_simpletest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down