diff options
author | bob <bcz@cs.brown.edu> | 2019-09-14 11:26:46 -0400 |
---|---|---|
committer | bob <bcz@cs.brown.edu> | 2019-09-14 11:26:46 -0400 |
commit | e125267541968eff8b2bd463b23daf2f79a841b9 (patch) | |
tree | e9f15085987a80be3ba808c5808861fe1b8ef0a4 | |
parent | 4ec15a9576a27b8290fb37b6959cb13ae76feeaa (diff) |
typo
-rw-r--r-- | src/client/views/nodes/DocumentView.tsx | 4 |
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; |