mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-13 00:59:01 +08:00
Round possible fractional positional values
CURA-9793
This commit is contained in:
parent
a470a6c333
commit
0fc4773db3
@ -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…
x
Reference in New Issue
Block a user