From d75d951a863103568f93ab9b04259d07b9668b47 Mon Sep 17 00:00:00 2001 From: Tyler Schicke Date: Fri, 12 Jul 2019 19:25:20 -0400 Subject: Various small changes/fixes --- src/client/views/nodes/VideoBox.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/client/views/nodes') 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(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(VideoD Not supported. ; } -} \ No newline at end of file +} + +VideoBox._showControls = true; \ No newline at end of file -- cgit v1.2.3-70-g09d2