aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/DocumentView.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2021-03-23 16:05:52 -0400
committerbobzel <zzzman@gmail.com>2021-03-23 16:05:52 -0400
commit4b699bd0ded39983227d11e75c8d187546190f00 (patch)
treeef1525b88303e00fa1b8562466f45a2756e6a428 /src/client/views/nodes/DocumentView.tsx
parentb6dc6e1a6219e73fcabe54d68b5bb08209ffa021 (diff)
changed audio/video to use playFrom() viewbox method instead of audioTrigger/videoTrigger doc field. added a preliminiary form of transcription to screenshot boxes.
Diffstat (limited to 'src/client/views/nodes/DocumentView.tsx')
-rw-r--r--src/client/views/nodes/DocumentView.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/nodes/DocumentView.tsx b/src/client/views/nodes/DocumentView.tsx
index 830da9dc0..3f76db46d 100644
--- a/src/client/views/nodes/DocumentView.tsx
+++ b/src/client/views/nodes/DocumentView.tsx
@@ -85,6 +85,7 @@ export interface DocComponentView {
menuControls?: () => JSX.Element; // controls to display in the top menu bar when the document is selected.
getKeyFrameEditing?: () => boolean; // whether the document is in keyframe editing mode (if it is, then all hidden documents that are not active at the keyframe time will still be shown)
setKeyFrameEditing?: (set: boolean) => void; // whether the document is in keyframe editing mode (if it is, then all hidden documents that are not active at the keyframe time will still be shown)
+ playFrom?: (time: number, endTime?: number) => void;
}
export interface DocumentViewSharedProps {
renderDepth: number;