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 /resources/qml/Toolbar.qml
parenta792fc59eb63eaa70aaaaed1f679c18e698c734e (diff)
Change Math.floor to Math.round as a last try to fix garbled fonts
CURA-4941
Diffstat (limited to 'resources/qml/Toolbar.qml')
-rw-r--r--resources/qml/Toolbar.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/qml/Toolbar.qml b/resources/qml/Toolbar.qml
index 55b56ea2d8..613a462db9 100644
--- a/resources/qml/Toolbar.qml
+++ b/resources/qml/Toolbar.qml
@@ -91,7 +91,7 @@ Item
anchors.topMargin: base.activeY
z: buttons.z -1
- target: Qt.point(parent.right, base.activeY + Math.floor(UM.Theme.getSize("button").height/2))
+ target: Qt.point(parent.right, base.activeY + Math.round(UM.Theme.getSize("button").height/2))
arrowSize: UM.Theme.getSize("default_arrow").width
width: