fix percentage of malyan printer

This commit is contained in:
Casper Lamboo 2018-04-16 21:03:15 +02:00
parent 264ea9ff00
commit 97cb6e062d

View File

@ -214,7 +214,7 @@ export async function slice(action, name, mesh, settings, updateProgress) {
loaded += 15 * 1024;
updateProgress({
action: 'Uploading to printer',
percentage: (currentStep + loaded / file.size) / steps
percentage: (currentStep + loaded / gcode.size) / steps
});
}, 1000);