aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/PDFBox.tsx
diff options
context:
space:
mode:
authorBob Zeleznik <zzzman@gmail.com>2020-07-02 10:17:26 -0400
committerBob Zeleznik <zzzman@gmail.com>2020-07-02 10:17:26 -0400
commit713b200804fa84d654aeb0051e086641d55d95d9 (patch)
tree4715e3316a609d5c16ee626b32ba9f7911a5be7a /src/client/views/nodes/PDFBox.tsx
parent6f0357e17c0dfe201fe60e841ab89e4714d86d16 (diff)
started some cleanup for Mobile .. lookslike workspaces view is broken now
Diffstat (limited to 'src/client/views/nodes/PDFBox.tsx')
-rw-r--r--src/client/views/nodes/PDFBox.tsx3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/client/views/nodes/PDFBox.tsx b/src/client/views/nodes/PDFBox.tsx
index 54f44a0f9..1c5825a8f 100644
--- a/src/client/views/nodes/PDFBox.tsx
+++ b/src/client/views/nodes/PDFBox.tsx
@@ -226,9 +226,6 @@ export class PDFBox extends ViewBoxAnnotatableComponent<FieldViewProps, PdfDocum
@computed get contentScaling() { return this.props.ContentScaling(); }
@computed get renderTitleBox() {
- console.log("fitWidth ?: " + !(this.props.Document._fitWidth) && (window.screen.width > 600));
- console.log("_nativeHeight: " + this.Document._nativeHeight);
- console.log("%: " + `${100 / this.contentScaling}%`);
const classname = "pdfBox" + (this.active() ? "-interactive" : "");
return <div className={classname} style={{
width: !this.props.Document._fitWidth ? this.Document._nativeWidth || 0 : `${100 / this.contentScaling}%`,