Skip to content

Commit

Permalink
Fix zooming selection height
Browse files Browse the repository at this point in the history
Use the canvas height instead of layer height.

Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
  • Loading branch information
PatrickTasse committed Jun 15, 2021
1 parent 53a52f0 commit 73b0c4f
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 @@ -342,7 +342,7 @@ export class TimeGraphChart extends TimeGraphChartLayer {
x: mouseStartX,
y: 0
},
height: this.layer.height,
height: this.stateController.canvasDisplayHeight,
width: this.mouseEndX - mouseStartX
});
this.addChild(this.zoomingSelection);
Expand Down

0 comments on commit 73b0c4f

Please sign in to comment.