Fix: revert last commit
This commit is contained in:
parent
3c93956ff8
commit
48fa197b69
@ -455,7 +455,7 @@ export class DebugPanel extends SceneFeature {
|
|||||||
const w = this.spectrumCanvas.width;
|
const w = this.spectrumCanvas.width;
|
||||||
const h = this.spectrumCanvas.height;
|
const h = this.spectrumCanvas.height;
|
||||||
const data = state.music.frequencyData;
|
const data = state.music.frequencyData;
|
||||||
const bufferLength = data.length/2;
|
const bufferLength = data.length;
|
||||||
|
|
||||||
ctx.clearRect(0, 0, w, h);
|
ctx.clearRect(0, 0, w, h);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user