mirror of https://github.com/nealey/vail.git
Always draw all the way to the right.
This probably makes more sense to people.
This commit is contained in:
parent
125579ec70
commit
54668eb0f1
|
@ -75,6 +75,7 @@ class HistoryChart {
|
|||
y = point[1] * this.canvas.height
|
||||
this.ctx.lineTo(x, y)
|
||||
}
|
||||
this.ctx.lineTo(this.canvas.width, y)
|
||||
this.ctx.stroke()
|
||||
|
||||
requestAnimationFrame(() => this.draw())
|
||||
|
|
Loading…
Reference in New Issue