From a8b00d549b99106ff78d7f31b8f71b56f2141417 Mon Sep 17 00:00:00 2001 From: gras Date: Sat, 30 Mar 2024 14:13:47 +0100 Subject: [PATCH] changed orientation to const --- src/backend/model/fileaccess/MetadataLoader.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/model/fileaccess/MetadataLoader.ts b/src/backend/model/fileaccess/MetadataLoader.ts index 58b027c8..dd812392 100644 --- a/src/backend/model/fileaccess/MetadataLoader.ts +++ b/src/backend/model/fileaccess/MetadataLoader.ts @@ -312,7 +312,7 @@ export class MetadataLoader { exif['xmp'] = exif['xap']; delete exif['xap']; } - let orientation = MetadataLoader.getOrientation(exif); + const orientation = MetadataLoader.getOrientation(exif); MetadataLoader.mapImageDimensions(metadata, exif, orientation); MetadataLoader.mapKeywords(metadata, exif); MetadataLoader.mapTimestampAndOffset(metadata, exif);