From 268ac38b63d7857980cfd27e4216de5397f4fb55 Mon Sep 17 00:00:00 2001 From: bobzel Date: Thu, 13 Mar 2025 18:23:33 -0400 Subject: fixed video timeline drag a region to appear while dragging. fixed timeline labels to render title text --- src/client/views/collections/CollectionStackedTimeline.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/client/views/collections/CollectionStackedTimeline.tsx') diff --git a/src/client/views/collections/CollectionStackedTimeline.tsx b/src/client/views/collections/CollectionStackedTimeline.tsx index c3047e5fb..bad5584f3 100644 --- a/src/client/views/collections/CollectionStackedTimeline.tsx +++ b/src/client/views/collections/CollectionStackedTimeline.tsx @@ -268,13 +268,13 @@ export class CollectionStackedTimeline extends CollectionSubView { + action(movEv => { if (!wasSelecting) { this._markerStart = this._markerEnd = this.toTimeline(clientX - rect.x, rect.width); wasSelecting = true; this._timelineWrapper && (this._timelineWrapper.style.cursor = 'ew-resize'); } - this._markerEnd = this.toTimeline(e.clientX - rect.x, rect.width); + this._markerEnd = this.toTimeline(movEv.clientX - rect.x, rect.width); return false; }), action((upEvent, movement, isClick) => { @@ -844,7 +844,7 @@ class StackedTimelineAnchor extends ObservableReactComponent Date: Thu, 13 Mar 2025 19:15:41 -0400 Subject: fixed clicking on stackedTimeline anchors to call play scripts --- src/client/views/collections/CollectionStackedTimeline.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/client/views/collections/CollectionStackedTimeline.tsx') diff --git a/src/client/views/collections/CollectionStackedTimeline.tsx b/src/client/views/collections/CollectionStackedTimeline.tsx index bad5584f3..a7a9f2114 100644 --- a/src/client/views/collections/CollectionStackedTimeline.tsx +++ b/src/client/views/collections/CollectionStackedTimeline.tsx @@ -187,13 +187,12 @@ export class CollectionStackedTimeline extends CollectionSubView this.rangeClick; rangePlayScript = () => this.rangePlay; -- cgit v1.2.3-70-g09d2