From 0fc4773db38a744c8148f79a950380e31d71dcde Mon Sep 17 00:00:00 2001 From: "c.lamboo" Date: Tue, 29 Nov 2022 14:56:15 +0100 Subject: [PATCH] Round possible fractional positional values CURA-9793 --- resources/qml/PrintSetupSelector/Recommended/InfillSlider.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/qml/PrintSetupSelector/Recommended/InfillSlider.qml b/resources/qml/PrintSetupSelector/Recommended/InfillSlider.qml index 1796ae7ea1..6cde19c2a9 100644 --- a/resources/qml/PrintSetupSelector/Recommended/InfillSlider.qml +++ b/resources/qml/PrintSetupSelector/Recommended/InfillSlider.qml @@ -86,7 +86,7 @@ RowLayout width: childrenRect.width height: childrenRect.height target: Qt.point(handleButton.x + handleButton.width / 2, handleButton.y + handleButton.height / 2) - x: handleButton.x - width / 2 + handleButton.width / 2 + x: handleButton.x + Math.round((handleButton.width - width) / 2) y: handleButton.y - height - UM.Theme.getSize("button_tooltip_arrow").height - UM.Theme.getSize("narrow_margin").height color: UM.Theme.getColor("tooltip");