diff options
author | bobzel <zzzman@gmail.com> | 2020-12-10 14:18:53 -0500 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2020-12-10 14:18:53 -0500 |
commit | d913740b994670b1b0eadd52069aeb69ef2b2380 (patch) | |
tree | 322686806c3a183a07fc27b5737935a7f7a41465 /src/client/views/nodes/ContentFittingDocumentView.tsx | |
parent | 30338491c7b3cbba852931c76774f6bfd44d4060 (diff) |
more cleanup/organization of 'props' . removed VisibleHeight props and cleaned up PDF and other props
Diffstat (limited to 'src/client/views/nodes/ContentFittingDocumentView.tsx')
-rw-r--r-- | src/client/views/nodes/ContentFittingDocumentView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/ContentFittingDocumentView.tsx b/src/client/views/nodes/ContentFittingDocumentView.tsx index 74d7cb24e..7b767a10a 100644 --- a/src/client/views/nodes/ContentFittingDocumentView.tsx +++ b/src/client/views/nodes/ContentFittingDocumentView.tsx @@ -22,7 +22,7 @@ export class ContentFittingDocumentView extends React.Component<DocumentViewProp (this.props.layoutKey && Doc.Layout(this.props.Document, Cast(this.props.Document[this.props.layoutKey], Doc, null))) || Doc.Layout(this.props.Document); } - @computed get freezeDimensions() { return this.props.FreezeDimensions; } + @computed get freezeDimensions() { return this.props.freezeDimensions; } @computed get nativeWidth() { return !this.layoutDoc._fitWidth && returnVal(this.props.NativeWidth?.(), Doc.NativeWidth(this.layoutDoc, this.props.DataDoc, this.freezeDimensions)); } @computed get nativeHeight() { return returnVal(this.props.NativeHeight?.(), Doc.NativeHeight(this.layoutDoc, this.props.DataDoc, this.freezeDimensions) || 0); } @computed get nativeScaling() { |