Removed leftover

This commit is contained in:
Emily 2019-08-21 07:48:12 +02:00
parent d9d6b40689
commit 1bf0a97daa

View File

@ -90,12 +90,11 @@ class Graph {
}
class MovingGraph extends Graph {
constructor(canvas, color, maxHeight, bufferLength, bufferType, smooth) {
constructor(canvas, color, maxHeight, bufferLength, bufferType) {
super(canvas, color, maxHeight);
let _bufferType = bufferType || Float32Array;
this.buffer = new _bufferType(bufferLength || 64);
this.smooth = smooth || false;
this.offset = 0;
}