Skip to content

Commit addfdad

Browse files
authored
Merge pull request #45 from lesamouraipourpre/max-size
Remove max_size parameter
2 parents 0fc8715 + ed1257a commit addfdad

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

adafruit_pybadger/pybadger_base.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ def _create_badge_background(self):
145145
self._created_background = True
146146

147147
if self._background_group is None:
148-
self._background_group = displayio.Group(max_size=30)
148+
self._background_group = displayio.Group()
149149

150150
self.display.show(self._background_group)
151151

@@ -213,7 +213,7 @@ def _badge_background(
213213
):
214214
"""Populate the background color with a rectangle color block over it as the background for
215215
a name badge."""
216-
background_group = displayio.Group(max_size=30)
216+
background_group = displayio.Group()
217217
color_bitmap = displayio.Bitmap(self.display.width, self.display.height, 1)
218218
color_palette = displayio.Palette(1)
219219
color_palette[0] = background_color
@@ -512,7 +512,7 @@ def show_business_card(
512512
)
513513
business_card_label_groups.append(email_two_group)
514514

515-
business_card_splash = displayio.Group(max_size=4)
515+
business_card_splash = displayio.Group()
516516
self.display.show(business_card_splash)
517517
with open(image_name, "rb") as file_name:
518518
on_disk_bitmap = displayio.OnDiskBitmap(file_name)

0 commit comments

Comments
 (0)