aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbob <bcz@cs.brown.edu>2019-09-14 11:26:46 -0400
committerbob <bcz@cs.brown.edu>2019-09-14 11:26:46 -0400
commite125267541968eff8b2bd463b23daf2f79a841b9 (patch)
treee9f15085987a80be3ba808c5808861fe1b8ef0a4 /src
parent4ec15a9576a27b8290fb37b6959cb13ae76feeaa (diff)
typo
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;