aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/CollectionStackedTimeline.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2021-03-25 02:39:52 -0400
committerbobzel <zzzman@gmail.com>2021-03-25 02:39:52 -0400
commitd0515c81be9f4292eaf165762ce15e7bc8d1737a (patch)
treea6f9f445111ad2f18da0fcf9dd1f5e4127bcd413 /src/client/views/collections/CollectionStackedTimeline.tsx
parent73e5c873f1a22c9a1f0aeb5d0c6f85c5c8b2f8fc (diff)
moved dictation view to be a component of the screenshotbox
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 de75a3c4a..db02ab986 100644
--- a/src/client/views/collections/CollectionStackedTimeline.tsx
+++ b/src/client/views/collections/CollectionStackedTimeline.tsx
@@ -19,6 +19,7 @@ import "./CollectionStackedTimeline.scss";
import { Transform } from "../../util/Transform";
import { LinkManager } from "../../util/LinkManager";
import { computedFn } from "mobx-utils";
+import { LightboxView } from "../LightboxView";
type PanZoomDocument = makeInterface<[]>;
const PanZoomDocument = makeInterface();
@@ -306,7 +307,7 @@ class StackedTimelineAnchor extends React.Component<StackedTinelineAnchorProps>
componentDidMount() {
this._disposer = reaction(() => this.props.currentTimecode(),
(time) => {
- if (DocListCast(this.props.mark.links).length &&
+ if (!LightboxView.LightboxDoc && DocListCast(this.props.mark.links).length &&
time > NumCast(this.props.mark[this.props.startTag]) &&
time < NumCast(this.props.mark[this.props.endTag]) &&
this._lastTimecode < NumCast(this.props.mark[this.props.startTag])) {