aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/client/views/nodes/DocumentView.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/nodes/DocumentView.tsx b/src/client/views/nodes/DocumentView.tsx
index d90224eae..a302a7a07 100644
--- a/src/client/views/nodes/DocumentView.tsx
+++ b/src/client/views/nodes/DocumentView.tsx
@@ -445,8 +445,8 @@ export class DocumentView extends DocComponent<DocumentViewProps, Document>(Docu
this.props.Document.type = this.props.Document.nativeType;
this.props.Document.customAutoHeight = this.props.Document.autoHeight;
- this.props.Document.customWidth = this.props.Document.nativeWidth;
- this.props.Document.customHeight = this.props.Document.nativeHeight;
+ this.props.Document.customWidth = this.props.Document.width;
+ this.props.Document.customHeight = this.props.Document.height;
this.props.Document.customNativeWidth = this.props.Document.nativeWidth;
this.props.Document.customNativeHeight = this.props.Document.nativeHeight;
this.props.Document.customIgnoreAspect = this.props.Document.ignoreAspect;