diff options
author | bobzel <zzzman@gmail.com> | 2020-10-22 18:18:28 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2020-10-22 18:18:28 -0400 |
commit | ffd6c9eadd0097b3a27fac183d0b7c223301a7c4 (patch) | |
tree | cc5fcbde60d639c70836fd4c68588aebccb6855d /src/client/views/DocumentButtonBar.tsx | |
parent | 94ca49c753634cce8855c5e0e7e123891630e2e2 (diff) |
added pinwithView for videos
Diffstat (limited to 'src/client/views/DocumentButtonBar.tsx')
-rw-r--r-- | src/client/views/DocumentButtonBar.tsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/views/DocumentButtonBar.tsx b/src/client/views/DocumentButtonBar.tsx index ed248c473..3b22cf51c 100644 --- a/src/client/views/DocumentButtonBar.tsx +++ b/src/client/views/DocumentButtonBar.tsx @@ -205,6 +205,8 @@ export class DocumentButtonBar extends React.Component<{ views: () => (DocumentV const scroll = targetDoc._scrollTop; activeDoc.presPinView = true; activeDoc.presPinViewScroll = scroll; + } else if (targetDoc.type === DocumentType.VID) { + activeDoc.presPinTimecode = targetDoc._currentTimecode; } else if ((targetDoc.type === DocumentType.COL && targetDoc._viewType === CollectionViewType.Freeform) || targetDoc.type === DocumentType.IMG) { const x = targetDoc._panX; const y = targetDoc._panY; |