aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/VideoBox.tsx
diff options
context:
space:
mode:
authoranika-ahluwalia <anika.ahluwalia@gmail.com>2020-05-19 11:51:54 -0500
committeranika-ahluwalia <anika.ahluwalia@gmail.com>2020-05-19 11:51:54 -0500
commit4c10d61230d34c2626eee1ca158a14599909ccf0 (patch)
tree6ef945a85934bda5954043c26c93c3db6f6cb573 /src/client/views/nodes/VideoBox.tsx
parent18f166edfe42a4856a6fea659cb65fd79f00599f (diff)
parent5490b3d0be16549e5a01ec30bd3be290cd7c34ee (diff)
Merge branch 'master' of https://github.com/browngraphicslab/Dash-Web into script_documents
Diffstat (limited to 'src/client/views/nodes/VideoBox.tsx')
-rw-r--r--src/client/views/nodes/VideoBox.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/VideoBox.tsx b/src/client/views/nodes/VideoBox.tsx
index a3abaedfa..6b1e6ae18 100644
--- a/src/client/views/nodes/VideoBox.tsx
+++ b/src/client/views/nodes/VideoBox.tsx
@@ -111,7 +111,7 @@ export class VideoBox extends ViewBoxAnnotatableComponent<FieldViewProps, VideoD
this._videoRef && ctx.drawImage(this._videoRef, 0, 0, canvas.width, canvas.height);
}
- if (!this._videoRef) { // can't find a way to take snapshots of videos
+ if (!this._videoRef) {
const b = Docs.Create.LabelDocument({
x: (this.layoutDoc.x || 0) + width, y: (this.layoutDoc.y || 1),
_width: 150, _height: 50, title: (this.layoutDoc.currentTimecode || 0).toString(),