Fixed the progress bar.

This commit is contained in:
David Carley
2022-09-02 22:14:17 +00:00
parent 52357c9588
commit 0019e086f0

View File

@@ -198,7 +198,7 @@ module.exports = {
}
const p = this.plan_time / this.toolpath.time;
return Math.max(1, p);
return Math.min(1, p);
}
},