aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/DocumentView.tsx
diff options
context:
space:
mode:
authorMohammad Amoush <47069173+mamoush34@users.noreply.github.com>2020-02-09 13:47:44 -0500
committerMohammad Amoush <47069173+mamoush34@users.noreply.github.com>2020-02-09 13:47:44 -0500
commitfe8c8415fbbc6f79e77e4e59fecfc6b647bf694d (patch)
treeffedbe2935d8daf5f4a9bdab63e0e34ba2e8e293 /src/client/views/nodes/DocumentView.tsx
parent98e524e936b7ddf2e229be6c3a8646e9b8dcfac6 (diff)
parentb5f34c5e702c3796e0f346ee2887a92332db9778 (diff)
Merge branch 'master' of https://github.com/browngraphicslab/Dash-Web into webcam_mohammad
Diffstat (limited to 'src/client/views/nodes/DocumentView.tsx')
-rw-r--r--src/client/views/nodes/DocumentView.tsx6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/client/views/nodes/DocumentView.tsx b/src/client/views/nodes/DocumentView.tsx
index dcdce5fce..787f6b79b 100644
--- a/src/client/views/nodes/DocumentView.tsx
+++ b/src/client/views/nodes/DocumentView.tsx
@@ -983,7 +983,11 @@ export class DocumentView extends DocComponent<DocumentViewProps, Document>(Docu
height: "100%",
opacity: this.Document.opacity
}}>
- {this.innards}
+ {this.onClickHandler && this.props.ContainingCollectionView?.props.Document._viewType === CollectionViewType.Time ? <>
+ {this.innards}
+ <div className="documentView-contentBlocker" />
+ </> :
+ this.innards}
</div>;
}
}