From 3e447dc94234dba077d5e994ade0875594335bd7 Mon Sep 17 00:00:00 2001 From: Robert Long Date: Tue, 17 Aug 2021 17:17:02 -0700 Subject: [PATCH] Fix getTilePositions after remove --- src/VideoGrid.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/VideoGrid.jsx b/src/VideoGrid.jsx index 5c1ffb7b..3780d6c4 100644 --- a/src/VideoGrid.jsx +++ b/src/VideoGrid.jsx @@ -179,7 +179,7 @@ export function VideoGrid({ participants }) { return { tiles: newTiles, - tilePositions: getTilePositions(newTiles, gridBounds), + tilePositions: getTilePositions(newTiles.length, gridBounds), }; }); }, 250);