From 5d50e0673fde8aabb2d87a75624b40d3b9c65df3 Mon Sep 17 00:00:00 2001 From: bobzel Date: Tue, 8 Mar 2022 22:11:24 -0500 Subject: fixed following a link to a video segment that triggers a navigation back to the source of the link --- src/client/views/collections/CollectionStackedTimeline.tsx | 2 +- src/client/views/nodes/VideoBox.tsx | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/client/views/collections/CollectionStackedTimeline.tsx b/src/client/views/collections/CollectionStackedTimeline.tsx index 89da6692a..74bfc3a88 100644 --- a/src/client/views/collections/CollectionStackedTimeline.tsx +++ b/src/client/views/collections/CollectionStackedTimeline.tsx @@ -721,7 +721,7 @@ class StackedTimelineAnchor extends React.Component 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]) + this._lastTimecode < NumCast(this.props.mark[this.props.startTag]) - 1e-5 ) { LinkManager.FollowLink( undefined, diff --git a/src/client/views/nodes/VideoBox.tsx b/src/client/views/nodes/VideoBox.tsx index 615d595c0..ba7ecfec6 100644 --- a/src/client/views/nodes/VideoBox.tsx +++ b/src/client/views/nodes/VideoBox.tsx @@ -126,7 +126,7 @@ export class VideoBox extends ViewBoxAnnotatableComponent { @@ -542,8 +542,8 @@ export class VideoBox extends ViewBoxAnnotatableComponent { }} - setEndTrim={() => { }} + setStartTrim={emptyFunction} + setEndTrim={emptyFunction} /> ; } -- cgit v1.2.3-70-g09d2