From e517c709905a2d4b5c631bf148a4c5074f0f5210 Mon Sep 17 00:00:00 2001 From: bobzel Date: Thu, 28 Jan 2021 13:02:02 -0500 Subject: fixed timeline sizing in videoBox --- src/client/views/nodes/VideoBox.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/client/views/nodes/VideoBox.tsx b/src/client/views/nodes/VideoBox.tsx index 65bb9abaf..a9c64b0bd 100644 --- a/src/client/views/nodes/VideoBox.tsx +++ b/src/client/views/nodes/VideoBox.tsx @@ -416,7 +416,7 @@ export class VideoBox extends ViewBoxAnnotatableComponent { this._clicking = false; if (this.active()) { - const local = this.props.ScreenToLocalTransform().transformPoint(e.clientX, e.clientY); + const local = this.props.ScreenToLocalTransform().scale(this.props.scaling?.() || 1).transformPoint(e.clientX, e.clientY); this.layoutDoc._timelineHeightPercent = Math.max(0, Math.min(100, local[1] / this.props.PanelHeight() * 100)); } return false; -- cgit v1.2.3-70-g09d2