diff --git a/timeline-chart/src/layer/time-graph-chart.ts b/timeline-chart/src/layer/time-graph-chart.ts index 876bd87..e626aee 100644 --- a/timeline-chart/src/layer/time-graph-chart.ts +++ b/timeline-chart/src/layer/time-graph-chart.ts @@ -516,6 +516,10 @@ export class TimeGraphChart extends TimeGraphChartLayer { this.selectStateInNavigation(); } if (this.mouseZooming) { + if (this.zoomingSelection) { + this.removeChild(this.zoomingSelection); + } + delete this.zoomingSelection; this.updateZoomingSelection(); }