diff options
author | bobzel <zzzman@gmail.com> | 2022-06-05 16:55:05 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2022-06-05 16:55:05 -0400 |
commit | 5c9b6595a24c5f65bd3935136e64587056aa26a9 (patch) | |
tree | 3d0c4c2974e0eeaa6bd6336d79e50d5e2060e342 /src/client/views/DocumentButtonBar.tsx | |
parent | 69916b81701c61df6ac2bbdfdb518ba127e28c0b (diff) |
some changes to prevent presBox from iconifying when typing enter for pres item preropty values. also fix so that pinwithView for video stores the start and end time of the video.
Diffstat (limited to 'src/client/views/DocumentButtonBar.tsx')
-rw-r--r-- | src/client/views/DocumentButtonBar.tsx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client/views/DocumentButtonBar.tsx b/src/client/views/DocumentButtonBar.tsx index ffa168f6b..25297e167 100644 --- a/src/client/views/DocumentButtonBar.tsx +++ b/src/client/views/DocumentButtonBar.tsx @@ -224,6 +224,9 @@ export class DocumentButtonBar extends React.Component<{ views: () => (DocumentV activeDoc.presPinView = true; activeDoc.presPinViewScroll = scroll; } else if (targetDoc.type === DocumentType.VID) { + activeDoc.presPinView = true; + activeDoc.presStartTime = targetDoc._currentTimecode; + activeDoc.presEndTime = NumCast(targetDoc._currentTimecode) + 0.1; activeDoc.presPinTimecode = targetDoc._currentTimecode; } else if (pannable) { const x = targetDoc._panX; |