Remove max_size usage with displayio.Group

This commit is contained in:
James Carr 2021-07-27 22:22:15 +01:00
parent ddc4f951be
commit 9ba1ce6fb4

View file

@ -311,7 +311,7 @@ class ClueLightPainter:
0.0 = min, 1.0 = full display width.
Returns: displayio group
"""
group = displayio.Group(max_size=7)
group = displayio.Group()
group.append(centered_label('TAP L/R to', 3, 2))
group.append(centered_label('select item' if main_config else
'select image' if self.config_mode is 0