Skip to content

Commit 14b5c92

Browse files
Remove max_size usage with displayio.Group
1 parent dd04d13 commit 14b5c92

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

PyPortal_Hurricane_Tracker/hurricane_tracker.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
for i, c in enumerate(icons_pal):
3636
if c == 0xFFFF00:
3737
icons_pal.make_transparent(i)
38-
storm_icons = displayio.Group(max_size=MAX_STORMS)
38+
storm_icons = displayio.Group()
3939
pyportal.splash.append(storm_icons)
4040
STORM_CLASS = ("TD", "TS", "HU")
4141

@@ -87,7 +87,7 @@ def update_display():
8787
):
8888
continue
8989
# OK, let's make a group for all the graphics
90-
storm_gfx = displayio.Group(max_size=3) # icon + label + arrow
90+
storm_gfx = displayio.Group()
9191
# convert to sreen coords
9292
x = int(map_range(lon, LON_RANGE[0], LON_RANGE[1], 0, board.DISPLAY.width - 1))
9393
y = math.radians(lat)

0 commit comments

Comments
 (0)