mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-13 03:09:04 +08:00
Fix arrow position if tooltip is too big to fit on the screen
This commit is contained in:
parent
3b8ae6439c
commit
1085709407
@ -67,7 +67,7 @@ UM.PointingRectangle
|
|||||||
{
|
{
|
||||||
if(containsMouse && base.opacity > 0)
|
if(containsMouse && base.opacity > 0)
|
||||||
{
|
{
|
||||||
base.show(Qt.point(base.x + base.width, base.y + UM.Theme.getSize("tooltip_arrow_margins").height));
|
base.show(Qt.point(target.x - 1, target.y - UM.Theme.getSize("tooltip_arrow_margins").height / 2)); //Same arrow position as before.
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user