Don't execute card actions when timeline is dragged
This commit is contained in:
@@ -743,7 +743,7 @@ export class FrigateCardTimelineCore extends LitElement {
|
|||||||
* @param properties The properties of the timeline click event.
|
* @param properties The properties of the timeline click event.
|
||||||
*/
|
*/
|
||||||
protected _timelineClickHandler(properties: TimelineEventPropertiesResult): void {
|
protected _timelineClickHandler(properties: TimelineEventPropertiesResult): void {
|
||||||
if (properties.what === 'item') {
|
if (properties.what === 'item' || this._wasDragged) {
|
||||||
stopEventFromActivatingCardWideActions(properties.event);
|
stopEventFromActivatingCardWideActions(properties.event);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user