Skip to content

Commit f560ef3

Browse files
authored
Merge pull request #1740 from lesamouraipourpre/hurricane-tracker
PyPortal Hurricane Tracker: Update for CP7
2 parents 59bc4f8 + 14b5c92 commit f560ef3

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)