Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark <mark.suurmond@gmail.com>2018-02-14 11:28:47 +0300
committerMark <mark.suurmond@gmail.com>2018-02-14 11:28:47 +0300
commitb531c0550de432415cd3d6fa0c2355975ea1a1ca (patch)
treeb975b51de6bb0eb3f203aa473a7a1ce324fb1719 /plugins/UltimakerMachineActions
parenta792fc59eb63eaa70aaaaed1f679c18e698c734e (diff)
Change Math.floor to Math.round as a last try to fix garbled fonts
CURA-4941
Diffstat (limited to 'plugins/UltimakerMachineActions')
-rw-r--r--plugins/UltimakerMachineActions/UMOCheckupMachineAction.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/UltimakerMachineActions/UMOCheckupMachineAction.qml b/plugins/UltimakerMachineActions/UMOCheckupMachineAction.qml
index aee75d1db5..b92638aa12 100644
--- a/plugins/UltimakerMachineActions/UMOCheckupMachineAction.qml
+++ b/plugins/UltimakerMachineActions/UMOCheckupMachineAction.qml
@@ -180,7 +180,7 @@ Cura.MachineAction
height: childrenRect.height
anchors.top: nozzleTempLabel.top
anchors.left: bedTempStatus.right
- anchors.leftMargin: Math.floor(UM.Theme.getSize("default_margin").width/2)
+ anchors.leftMargin: Math.round(UM.Theme.getSize("default_margin").width/2)
visible: checkupMachineAction.usbConnected
Button
{
@@ -241,7 +241,7 @@ Cura.MachineAction
height: childrenRect.height
anchors.top: bedTempLabel.top
anchors.left: bedTempStatus.right
- anchors.leftMargin: Math.floor(UM.Theme.getSize("default_margin").width/2)
+ anchors.leftMargin: Math.round(UM.Theme.getSize("default_margin").width/2)
visible: checkupMachineAction.usbConnected && manager.hasHeatedBed
Button
{