Temperatures are now rounded + displayed with celcius sign

CURA-1036
This commit is contained in:
Jaime van Kessel 2016-06-17 12:05:23 +02:00
parent 1f9acf0b54
commit 1232ac7df5

View file

@ -274,7 +274,7 @@ Rectangle
}
Label
{
text: " " + Cura.MachineManager.printerOutputDevices[0].hotendTemperatures[0]
text: " " + Math.round(Cura.MachineManager.printerOutputDevices[0].hotendTemperatures[0]) + "°C"
}
@ -284,7 +284,7 @@ Rectangle
}
Label
{
text: " " + Cura.MachineManager.printerOutputDevices[0].hotendTemperatures[1]
text: " " + Math.round(Cura.MachineManager.printerOutputDevices[0].hotendTemperatures[1]) + "°C"
}
Label
@ -293,7 +293,7 @@ Rectangle
}
Label
{
text: " " + Cura.MachineManager.printerOutputDevices[0].bedTemperature
text: " " + Math.round(Cura.MachineManager.printerOutputDevices[0].bedTemperature) + "°C"
}
// Spacers