bugfix: layer_count to 0 until the print starts

Signed-off-by: Stefan Dej <meteyou@gmail.com>
This commit is contained in:
Stefan Dej 2021-01-18 20:53:33 +01:00
parent 92679b001a
commit 423d2eaa88

View File

@ -270,6 +270,7 @@
current_layer: {
get() {
if (
this.print_time > 0 &&
'first_layer_height' in this.current_file &&
'layer_height' in this.current_file &&
this.gcode_position !== undefined &&