mirror of
https://codeberg.org/uzu/strudel
synced 2026-07-23 13:42:56 -04:00
Formatting
This commit is contained in:
@@ -74,7 +74,7 @@ class Edge {
|
||||
|
||||
let audioGraph;
|
||||
class AudioGraph {
|
||||
constructor() {
|
||||
constructor(id) {
|
||||
this.id = id;
|
||||
this.activeSubGraphs = [];
|
||||
this.subGraphs = {};
|
||||
@@ -134,7 +134,7 @@ class AudioGraph {
|
||||
|
||||
export const getAudioGraph = () => {
|
||||
if (audioGraph === undefined) {
|
||||
audioGraph = new AudioGraph(id = 0);
|
||||
audioGraph = new AudioGraph(0);
|
||||
}
|
||||
return audioGraph;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user