From 31faf2b0683fc15c040d47425f931531c0d8a0f8 Mon Sep 17 00:00:00 2001 From: bobzel Date: Wed, 27 Jan 2021 12:13:21 -0500 Subject: fixed size of timeline toggle on videoBox and some other tweaks to hide documentdeocrations on timeline items. --- src/client/views/nodes/VideoBox.tsx | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'src/client/views/nodes/VideoBox.tsx') diff --git a/src/client/views/nodes/VideoBox.tsx b/src/client/views/nodes/VideoBox.tsx index 7f123757b..6286b5e26 100644 --- a/src/client/views/nodes/VideoBox.tsx +++ b/src/client/views/nodes/VideoBox.tsx @@ -380,16 +380,11 @@ export class VideoBox extends ViewBoxAnnotatableComponent{"" + formatTime(curTime)} {" " + Math.round((curTime - Math.trunc(curTime)) * 100)} , -
+
, -
this.layoutDoc._timelineShow = !this.layoutDoc._timelineShow)} - style={{ - transform: `scale(${this.scaling()})`, - right: this.scaling() * 10 - 10, - bottom: this.scaling() * 10 - 10 - }}> - +
this.layoutDoc._timelineShow = !this.layoutDoc._timelineShow)}> +
, VideoBox._showControls ? (null) : [ //
@@ -411,7 +406,7 @@ export class VideoBox extends ViewBoxAnnotatableComponent { + onSnapshot = (e: React.MouseEvent) => { this.Snapshot(); e.stopPropagation(); e.preventDefault(); -- cgit v1.2.3-70-g09d2