Spaces:
Running
on
Zero
Running
on
Zero
color
Browse files- javascript/app.js +1 -1
javascript/app.js
CHANGED
@@ -245,7 +245,7 @@ class MidiVisualizer extends HTMLElement{
|
|
245 |
if (!!track){
|
246 |
return track
|
247 |
}
|
248 |
-
let color = this.colorMap.get((this.trackMap.size*
|
249 |
return this.addTrack(id, tr, cl, `Track ${tr}, Channel ${cl}`, color)
|
250 |
}
|
251 |
|
|
|
245 |
if (!!track){
|
246 |
return track
|
247 |
}
|
248 |
+
let color = this.colorMap.get((this.trackMap.size*53)%128)
|
249 |
return this.addTrack(id, tr, cl, `Track ${tr}, Channel ${cl}`, color)
|
250 |
}
|
251 |
|