mirror of
https://github.com/xuthus83/pigallery2.git
synced 2024-11-03 21:04:03 +08:00
changed orientation to const
This commit is contained in:
parent
1514662b8d
commit
a8b00d549b
@ -312,7 +312,7 @@ export class MetadataLoader {
|
|||||||
exif['xmp'] = exif['xap'];
|
exif['xmp'] = exif['xap'];
|
||||||
delete exif['xap'];
|
delete exif['xap'];
|
||||||
}
|
}
|
||||||
let orientation = MetadataLoader.getOrientation(exif);
|
const orientation = MetadataLoader.getOrientation(exif);
|
||||||
MetadataLoader.mapImageDimensions(metadata, exif, orientation);
|
MetadataLoader.mapImageDimensions(metadata, exif, orientation);
|
||||||
MetadataLoader.mapKeywords(metadata, exif);
|
MetadataLoader.mapKeywords(metadata, exif);
|
||||||
MetadataLoader.mapTimestampAndOffset(metadata, exif);
|
MetadataLoader.mapTimestampAndOffset(metadata, exif);
|
||||||
|
Loading…
Reference in New Issue
Block a user