fix bug causing filament used value to not be displayed

This commit is contained in:
bakedpotatolord 2025-07-20 20:32:39 -06:00
commit 912315e693
2 changed files with 2 additions and 2 deletions

View file

@ -471,7 +471,7 @@ function exportGCodeDialog(gcode, sections, info, names) {
$('print-filament').style.display = fdm ? '' : 'none';
$('print-filename').value = filename;
$('print-filesize').value = util.comma(info.bytes);
$('print-filament').value = Math.round(info.distance);
$('print-length').value = Math.round(info.distance);
if (set.controller.devel) {
$('code-preview-textarea').style.height = "30em";
}