loading progress added
This commit is contained in:
@@ -31,7 +31,12 @@ class MotionEngine {
|
||||
this.add = function (a) {
|
||||
a = Array.isArray(a) ? a : [a];
|
||||
a.forEach(e => {
|
||||
aq.push(e);
|
||||
if (e.t == 0){
|
||||
e.t = 1;
|
||||
this.animate(e, 1)
|
||||
}else{
|
||||
aq.push(e);
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user