diff options
author | bobzel <zzzman@gmail.com> | 2020-12-14 14:22:44 -0500 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2020-12-14 14:22:44 -0500 |
commit | 8d9b38b64e61f2afb2b698004bcef7017d454078 (patch) | |
tree | a2d21b90747b347c012e8b12c34b0100b66ee0f0 /src/client/views/nodes/ContentFittingDocumentView.tsx | |
parent | 37d9d2cad93a08518cec6c95c8bc941dd5f5ddaa (diff) |
got rid of fitDocToPanel. made collectionFreeFormDocView always use a ContentFittingDocView. fixed up web box selections.
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 5111fa041..db9366390 100644 --- a/src/client/views/nodes/ContentFittingDocumentView.tsx +++ b/src/client/views/nodes/ContentFittingDocumentView.tsx @@ -31,6 +31,7 @@ export class ContentFittingDocumentView extends React.Component<DocumentViewProp } else if (nativeW && nativeH) { scaling = this.props.PanelHeight() / nativeH; // height-limited } + console.log(this.props.Document.title + " " + scaling) return scaling; } @@ -75,7 +76,6 @@ export class ContentFittingDocumentView extends React.Component<DocumentViewProp NativeWidth={this.NativeWidth} NativeHeight={this.NativeHeight} ContentScaling={this.NativeScaling} - contentFittingXf={returnTrue} ScreenToLocalTransform={this.screenToLocalTransform} focus={this.props.focus || emptyFunction} bringToFront={emptyFunction} |