Add more debug info

This commit is contained in:
Jordan Eldredge 2019-03-05 11:09:29 -08:00
parent d5e55aa1f7
commit 45313f4dba

View file

@ -36,6 +36,7 @@ class Milkdrop extends React.Component {
// https://github.com/captbaritone/webamp/issues/731
throw new Error("Visualizer not initialized. WAT.");
}
this.__debugState = "VISUALIZER_CREATED";
this.visualizer.connectAudio(this.props.analyser);
this.presetCycle = !this.props.initialPreset;
if (this.props.initialPreset) {