Skip to content

Commit

Permalink
Fix Mouse zooming overlay
Browse files Browse the repository at this point in the history
fixes #145

Signed-off-by: muddana-satish <satish.muddana@ericsson.com>
  • Loading branch information
muddana-satish authored and PatrickTasse committed Jul 9, 2021
1 parent 20515d9 commit 4ef0f9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion timeline-chart/src/layer/time-graph-chart.ts
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ export class TimeGraphChart extends TimeGraphChartLayer {
x: mouseStartX,
y: 0
},
height: this.stateController.canvasDisplayHeight,
height: Math.max(this.stateController.canvasDisplayHeight, this.rowController.totalHeight),
width: this.mouseEndX - mouseStartX
});
this.addChild(this.zoomingSelection);
Expand Down

0 comments on commit 4ef0f9c

Please sign in to comment.