mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 23:23:57 -06:00
Round possible fractional positional values
CURA-9793
This commit is contained in:
parent
a470a6c333
commit
0fc4773db3
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue