Skip to content

Commit

Permalink
Deselect elements when setting new cursor
Browse files Browse the repository at this point in the history
  • Loading branch information
jbicker committed Feb 7, 2019
1 parent 023c077 commit 56439c6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions timeline-chart/src/layer/time-graph-chart-cursors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 56439c6

Please sign in to comment.