From 9a1fec81467e6d4b04c6e28d66b724aae92db826 Mon Sep 17 00:00:00 2001 From: bobzel Date: Mon, 7 Sep 2020 01:42:22 -0400 Subject: fixed image orientation for certain exif settings >= 5 --- src/client/views/nodes/ImageBox.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/client/views/nodes/ImageBox.tsx b/src/client/views/nodes/ImageBox.tsx index 688bac725..5832a51a7 100644 --- a/src/client/views/nodes/ImageBox.tsx +++ b/src/client/views/nodes/ImageBox.tsx @@ -262,7 +262,7 @@ export class ImageBox extends ViewBoxAnnotatableComponent= 5 || rotation === 90 || rotation === 270) { this.layoutDoc._nativeWidth = NumCast(this.dataDoc[this.fieldKey + "-nativeHeight"]); this.layoutDoc._nativeHeight = NumCast(this.dataDoc[this.fieldKey + "-nativeWidth"]); } else { -- cgit v1.2.3-70-g09d2