mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2025-12-30 03:12:29 +00:00
fix(rn) fix iOS rendering when launched locked
This commit is contained in:
@@ -253,9 +253,13 @@ class Filmstrip extends PureComponent<IProps> {
|
||||
const filmstripStyle = isNarrowAspectRatio ? styles.filmstripNarrow : styles.filmstripWide;
|
||||
const { height, width } = this._getDimensions();
|
||||
const { height: thumbnailHeight, width: thumbnailWidth, margin } = styles.thumbnail;
|
||||
const initialNumToRender = Math.ceil(isNarrowAspectRatio
|
||||
? width / (thumbnailWidth + (2 * margin))
|
||||
: height / (thumbnailHeight + (2 * margin))
|
||||
const initialNumToRender = Math.max(
|
||||
0,
|
||||
Math.ceil(
|
||||
isNarrowAspectRatio
|
||||
? width / (thumbnailWidth + (2 * margin))
|
||||
: height / (thumbnailHeight + (2 * margin))
|
||||
)
|
||||
);
|
||||
let participants;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user