Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

fix blank thumbnail preview

Abhinav6e417462d297
diff --git a/apps/photos/src/utils/photoFrame/index.ts b/apps/photos/src/utils/photoFrame/index.ts
index 3207377a95..ce1cb66cf0 100644
--- a/apps/photos/src/utils/photoFrame/index.ts
+++ b/apps/photos/src/utils/photoFrame/index.ts
@@ -52,6 +52,8 @@ export async function pauseVideo(livePhotoVideo, livePhotoImage) {
}
export function updateFileMsrcProps(file: EnteFile, url: string) {
+ file.w = window.innerWidth;
+ file.h = window.innerHeight;
file.msrc = url;
file.isSourceLoaded = false;
file.conversionFailed = false;