diff options
Diffstat (limited to 'src/relabi/canvas.js')
| -rw-r--r-- | src/relabi/canvas.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/relabi/canvas.js b/src/relabi/canvas.js index d2c55a2..2003a5a 100644 --- a/src/relabi/canvas.js +++ b/src/relabi/canvas.js @@ -77,6 +77,7 @@ export default class RelabiCanvas { this.lastAppendTime = time; this.lastAppendFrame = this.lastFrame; this.values = this.values + .filter((value) => value && value[0] < time) .concat(values) .slice(-this.canvas.width) .sort((a, b) => a[0] - b[0]); @@ -142,7 +143,7 @@ export default class RelabiCanvas { // Start the path ctx.beginPath(); ctx.strokeStyle = "#dff"; - ctx.lineWidth = 0.75; + ctx.lineWidth = 1.1; ctx.setLineDash([]); // This is the offset in seconds from the last frame we computed |
