set all to 0

This commit is contained in:
Fabian Stamm 2017-06-20 14:52:25 +02:00
parent f8e0550296
commit d30d3c5688
3 changed files with 7 additions and 1 deletions

View File

@ -134,6 +134,9 @@ class Timecode {
}
loadTrack(trackid) {
this.playing = false;
for (var i = 0; i < 512; i++) {
artnet.set(universe, i, 0);
}
var track = db.get(trackid).value();
var tr = [];
track.triggers.forEach(t => {

File diff suppressed because one or more lines are too long

View File

@ -156,6 +156,9 @@ class Timecode {
loadTrack(trackid:string) {
this.playing = false;
for(var i = 0; i < 512; i++){
artnet.set(universe, i, 0);
}
var track =<Track>db.get(trackid).value();
var tr = [];
track.triggers.forEach(t=>{