Skip to content

Commit

Permalink
Merge pull request #4 from lesamouraipourpre/max-size
Browse files Browse the repository at this point in the history
Remove max_size parameter
  • Loading branch information
jposada202020 authored Jul 5, 2021
2 parents 3485d5d + b686726 commit df982a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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

0 comments on commit df982a2

Please sign in to comment.