Merge branch 'patch-1' of github.com:asteroids1975/Cura

CURA-10400
This commit is contained in:
Jaime van Kessel 2023-03-14 12:51:09 +01:00
commit e099304fce
No known key found for this signature in database
GPG key ID: C85F7A3AF1BAA7C4

View file

@ -32,7 +32,7 @@ Item
UM.Label
{
id: bedTargetTemperature
text: printerModel != null ? printerModel.targetBedTemperature + "°C" : ""
text: printerModel != null ? Math.round(printerModel.targetBedTemperature) + "°C" : ""
font: UM.Theme.getFont("default_bold")
color: UM.Theme.getColor("text_inactive")
anchors.right: parent.right
@ -66,7 +66,7 @@ Item
UM.Label
{
id: bedCurrentTemperature
text: printerModel != null ? printerModel.bedTemperature + "°C" : ""
text: printerModel != null ? Math.round(printerModel.bedTemperature) + "°C" : ""
font: UM.Theme.getFont("large_bold")
anchors.right: bedTargetTemperature.left
anchors.top: parent.top
@ -293,4 +293,4 @@ Item
}
}
}
}
}