diff options
| author | bob <bcz@cs.brown.edu> | 2019-09-16 10:36:16 -0400 |
|---|---|---|
| committer | bob <bcz@cs.brown.edu> | 2019-09-16 10:36:16 -0400 |
| commit | 5e3c12128f4d15d621b323e0f1d78bfff2452b92 (patch) | |
| tree | 209fef8663ee2ac55687ba7dc2be4d0b57ae2a3d /src/client/views/nodes/DocumentView.tsx | |
| parent | f428ac2621f123661a937405764058f27a9feefd (diff) | |
fixed templates to allow aliasing, clustering and other things.
Diffstat (limited to 'src/client/views/nodes/DocumentView.tsx')
| -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 17bf02448..503d59195 100644 --- a/src/client/views/nodes/DocumentView.tsx +++ b/src/client/views/nodes/DocumentView.tsx @@ -435,8 +435,8 @@ export class DocumentView extends DocComponent<DocumentViewProps, Document>(Docu this.props.Document.nativeLayout = this.props.Document.layout; this.props.Document.nativeType = this.props.Document.type; this.props.Document.nonCustomAutoHeight = this.props.Document.autoHeight; - this.props.Document.nonCustomWidth = this.props.Document.nativeWidth; - this.props.Document.nonCustomHeight = this.props.Document.nativeHeight; + this.props.Document.nonCustomWidth = this.props.Document.width; + this.props.Document.nonCustomHeight = this.props.Document.height; this.props.Document.nonCustomNativeWidth = this.props.Document.nativeWidth; this.props.Document.nonCustomNativeHeight = this.props.Document.nativeHeight; this.props.Document.nonCustomIgnoreAspect = this.props.Document.ignoreAspect; |
