From 241b9b85a2ebb45df50f71c74247cf989701c33a Mon Sep 17 00:00:00 2001 From: Dermot Duffy Date: Mon, 20 Jun 2022 03:16:01 +0000 Subject: [PATCH] Don't execute card actions when timeline is dragged --- src/components/timeline.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/timeline.ts b/src/components/timeline.ts index 7396bfd6..3ffa8724 100644 --- a/src/components/timeline.ts +++ b/src/components/timeline.ts @@ -743,7 +743,7 @@ export class FrigateCardTimelineCore extends LitElement { * @param properties The properties of the timeline click event. */ protected _timelineClickHandler(properties: TimelineEventPropertiesResult): void { - if (properties.what === 'item') { + if (properties.what === 'item' || this._wasDragged) { stopEventFromActivatingCardWideActions(properties.event); }