Merge pull request #705 from dermotduffy/timeline-prefetch

Don't execute card actions when timeline is dragged
This commit is contained in:
Dermot Duffy
2022-06-19 20:17:49 -07:00
committed by GitHub
+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);
}