Removed leftover
This commit is contained in:
parent
d9d6b40689
commit
1bf0a97daa
|
@ -90,12 +90,11 @@ class Graph {
|
||||||
}
|
}
|
||||||
|
|
||||||
class MovingGraph extends Graph {
|
class MovingGraph extends Graph {
|
||||||
constructor(canvas, color, maxHeight, bufferLength, bufferType, smooth) {
|
constructor(canvas, color, maxHeight, bufferLength, bufferType) {
|
||||||
super(canvas, color, maxHeight);
|
super(canvas, color, maxHeight);
|
||||||
|
|
||||||
let _bufferType = bufferType || Float32Array;
|
let _bufferType = bufferType || Float32Array;
|
||||||
this.buffer = new _bufferType(bufferLength || 64);
|
this.buffer = new _bufferType(bufferLength || 64);
|
||||||
this.smooth = smooth || false;
|
|
||||||
this.offset = 0;
|
this.offset = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user