set all to 0
This commit is contained in:
parent
f8e0550296
commit
d30d3c5688
@ -134,6 +134,9 @@ class Timecode {
|
|||||||
}
|
}
|
||||||
loadTrack(trackid) {
|
loadTrack(trackid) {
|
||||||
this.playing = false;
|
this.playing = false;
|
||||||
|
for (var i = 0; i < 512; i++) {
|
||||||
|
artnet.set(universe, i, 0);
|
||||||
|
}
|
||||||
var track = db.get(trackid).value();
|
var track = db.get(trackid).value();
|
||||||
var tr = [];
|
var tr = [];
|
||||||
track.triggers.forEach(t => {
|
track.triggers.forEach(t => {
|
||||||
|
File diff suppressed because one or more lines are too long
@ -156,6 +156,9 @@ class Timecode {
|
|||||||
|
|
||||||
loadTrack(trackid:string) {
|
loadTrack(trackid:string) {
|
||||||
this.playing = false;
|
this.playing = false;
|
||||||
|
for(var i = 0; i < 512; i++){
|
||||||
|
artnet.set(universe, i, 0);
|
||||||
|
}
|
||||||
var track =<Track>db.get(trackid).value();
|
var track =<Track>db.get(trackid).value();
|
||||||
var tr = [];
|
var tr = [];
|
||||||
track.triggers.forEach(t=>{
|
track.triggers.forEach(t=>{
|
||||||
|
Loading…
Reference in New Issue
Block a user