Don't execute card actions when timeline is dragged

This commit is contained in:
Dermot Duffy
2022-06-20 03:16:01 +00:00
parent a18cd5d213
commit 241b9b85a2
+1 -1
View File
@@ -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);
}