Skip to content

Commit

Permalink
fix: adjust tile calc to handle 480p recording
Browse files Browse the repository at this point in the history
  • Loading branch information
KaustubhKumar05 committed Oct 29, 2024
1 parent 86639b5 commit 1f35f2a
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,10 @@ export const useTileLayout = ({
}
}
}
// Beam layout breaks at 480p resolution without this adjustment
for (let i = 0; i < row.length; i++) {
row[i].width = tileWidth;
row[i].height = tileHeight;
row[i].width = tileWidth - 5;
row[i].height = tileHeight - 5;
}
}
}
Expand Down

0 comments on commit 1f35f2a

Please sign in to comment.