convert preview path to async function. remove shared array from animation direct list
This commit is contained in:
parent
d4e867fd2d
commit
e970d377b2
7 changed files with 26 additions and 22 deletions
|
|
@ -42,7 +42,7 @@ function rate_to_color(rate, max) {
|
|||
}
|
||||
};
|
||||
|
||||
function path(levels, update, opts = {}) {
|
||||
async function path(levels, update, opts = {}) {
|
||||
levels = levels.filter(level => level.length);
|
||||
if (levels.length === 0) {
|
||||
self.worker.print.maxSpeed = 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue