aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/CollectionStackedTimeline.tsx
diff options
context:
space:
mode:
authorgeireann <60007097+geireann@users.noreply.github.com>2021-04-09 11:53:53 -0400
committergeireann <60007097+geireann@users.noreply.github.com>2021-04-09 11:53:53 -0400
commitfad5449e1b73914e168cf97b363c75dd6a7d15fa (patch)
treec7c29ace32d7cc997e97fa4da0fea96bb309c26e /src/client/views/collections/CollectionStackedTimeline.tsx
parent5d01963d349272e4a2bd38083769b3f1d0a392bc (diff)
parent9604968e525dd44d24fc38eed84ff3a7cc706862 (diff)
Merge branch 'demo_changes' of https://github.com/browngraphicslab/Dash-Web into demo_changes
Diffstat (limited to 'src/client/views/collections/CollectionStackedTimeline.tsx')
-rw-r--r--src/client/views/collections/CollectionStackedTimeline.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionStackedTimeline.tsx b/src/client/views/collections/CollectionStackedTimeline.tsx
index 4f9f297a2..5b5d05681 100644
--- a/src/client/views/collections/CollectionStackedTimeline.tsx
+++ b/src/client/views/collections/CollectionStackedTimeline.tsx
@@ -235,6 +235,7 @@ export class CollectionStackedTimeline extends CollectionSubView<PanZoomDocument
}
dictationHeight = () => "50%";
+ documentHeight = () => "100%";
timelineContentHeight = () => this.props.PanelHeight() / 2;
dictationScreenToLocalTransform = () => this.props.ScreenToLocalTransform().translate(0, -this.timelineContentHeight());
@computed get renderDictation() {
@@ -242,7 +243,7 @@ export class CollectionStackedTimeline extends CollectionSubView<PanZoomDocument
return !dictation ? (null) : <div style={{ position: "absolute", height: this.dictationHeight(), top: "50%", background: "tan" }}>
<DocumentView {...OmitKeys(this.props, ["NativeWidth", "NativeHeight", "setContentView"]).omit}
Document={dictation}
- PanelHeight={() => "100%"}
+ PanelHeight={this.documentHeight}
isAnnotationOverlay={true}
isDocumentActive={returnFalse}
select={emptyFunction}