From 56439c6c42bafe388ff6d9ac2638a1ad767f8f51 Mon Sep 17 00:00:00 2001 From: Jan Bicker Date: Thu, 7 Feb 2019 14:36:02 +0000 Subject: [PATCH] Deselect elements when setting new cursor --- timeline-chart/src/layer/time-graph-chart-cursors.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/timeline-chart/src/layer/time-graph-chart-cursors.ts b/timeline-chart/src/layer/time-graph-chart-cursors.ts index dcee898..f00fb26 100644 --- a/timeline-chart/src/layer/time-graph-chart-cursors.ts +++ b/timeline-chart/src/layer/time-graph-chart-cursors.ts @@ -37,6 +37,7 @@ export class TimeGraphChartCursors extends TimeGraphChartLayer { this.mouseIsDown = true; const mouseX = event.data.global.x; const xpos = this.unitController.viewRange.start + (mouseX / this.stateController.zoomFactor); + this.chartLayer.selectRowElement(undefined); if (this.shiftKeyDown) { const start = this.unitController.selectionRange ? this.unitController.selectionRange.start : 0; this.unitController.selectionRange = {