aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/DocumentView.tsx
diff options
context:
space:
mode:
authorJenny Yu <jennyyu212@outlook.com>2022-04-28 17:09:13 -0400
committerJenny Yu <jennyyu212@outlook.com>2022-04-28 17:09:13 -0400
commit99ae2ccde9dbcf6bae75edea231d4b10c736a692 (patch)
tree52ccc5ad99188a751721a9076b9b98aa90752753 /src/client/views/nodes/DocumentView.tsx
parent83c615b1b9706818894ee74481afd4c2bf34fe61 (diff)
feat: recording box turning into video + only one recording box
Diffstat (limited to 'src/client/views/nodes/DocumentView.tsx')
-rw-r--r--src/client/views/nodes/DocumentView.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/DocumentView.tsx b/src/client/views/nodes/DocumentView.tsx
index 78c6c9776..f48173975 100644
--- a/src/client/views/nodes/DocumentView.tsx
+++ b/src/client/views/nodes/DocumentView.tsx
@@ -1317,7 +1317,7 @@ export class DocumentView extends React.Component<DocumentViewProps> {
const yshift = () => (this.props.Document.isInkMask ? InkingStroke.MaskDim : Math.abs(this.Yshift) <= 0.001 ? this.props.PanelHeight() : undefined);
const isPresTreeElement: boolean = this.props.treeViewDoc?.type === DocumentType.PRES;
const isButton: boolean = this.props.Document.type === DocumentType.FONTICON || this.props.Document._viewType === CollectionViewType.Linear;
- const isOverlay: boolean = CurrentUserUtils.OverlayDocs.includes(this.props.Document);
+ // const isOverlay: boolean = CurrentUserUtils.OverlayDocs.includes(this.props.Document);
return (<div className="contentFittingDocumentView">
{!this.props.Document || !this.props.PanelWidth() ? (null) : (
<div className="contentFittingDocumentView-previewDoc" ref={this.ContentRef}