aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/DocumentView.tsx
diff options
context:
space:
mode:
authorBob Zeleznik <zzzman@gmail.com>2020-05-11 01:51:12 -0400
committerBob Zeleznik <zzzman@gmail.com>2020-05-11 01:51:12 -0400
commit56161b9541a8232fca11e69ffb1bf22864a941a1 (patch)
tree524e435c33d666e4253f50bb987cad392d722c6d /src/client/views/nodes/DocumentView.tsx
parent5726d19a615385b0bcdf1e3a944056d31074edbb (diff)
compile error fixes. fix to freeform view zooming when zoomed way out.
Diffstat (limited to 'src/client/views/nodes/DocumentView.tsx')
-rw-r--r--src/client/views/nodes/DocumentView.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/nodes/DocumentView.tsx b/src/client/views/nodes/DocumentView.tsx
index d2dabe7ec..aca0433bb 100644
--- a/src/client/views/nodes/DocumentView.tsx
+++ b/src/client/views/nodes/DocumentView.tsx
@@ -310,6 +310,7 @@ export class DocumentView extends DocComponent<DocumentViewProps, Document>(Docu
const fullScreenAlias = Doc.MakeAlias(this.props.Document);
fullScreenAlias.layoutKey = "layout_fullScreen";
this.props.addDocTab(fullScreenAlias, "inTab");
+ } else {
this.props.addDocTab(this.props.Document, "inTab");
}
}, "double tap");