diff options
| author | Tyler Schicke <tyler_schicke@brown.edu> | 2019-07-12 19:25:20 -0400 |
|---|---|---|
| committer | Tyler Schicke <tyler_schicke@brown.edu> | 2019-07-12 19:25:20 -0400 |
| commit | d75d951a863103568f93ab9b04259d07b9668b47 (patch) | |
| tree | e48995297eea2f8ee544041cadb2540734c11f7d /src/client/views/nodes/VideoBox.tsx | |
| parent | 6a477918f2f16bdc023c76d6a145bb6435e918a6 (diff) | |
Various small changes/fixes
Diffstat (limited to 'src/client/views/nodes/VideoBox.tsx')
| -rw-r--r-- | src/client/views/nodes/VideoBox.tsx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/client/views/nodes/VideoBox.tsx b/src/client/views/nodes/VideoBox.tsx index 9ee4d7942..fa1e4d273 100644 --- a/src/client/views/nodes/VideoBox.tsx +++ b/src/client/views/nodes/VideoBox.tsx @@ -145,7 +145,7 @@ export class VideoBox extends DocComponent<FieldViewProps, VideoDocument>(VideoD onPointerDown = (e: React.PointerEvent) => { } - @observable static _showControls: boolean = false; + @observable static _showControls: boolean; specificContextMenu = (e: React.MouseEvent): void => { let field = Cast(this.Document[this.props.fieldKey], VideoField); @@ -170,4 +170,6 @@ export class VideoBox extends DocComponent<FieldViewProps, VideoDocument>(VideoD Not supported. </video>; } -}
\ No newline at end of file +} + +VideoBox._showControls = true;
\ No newline at end of file |
