mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Fix arrow position if tooltip is too big to fit on the screen
This commit is contained in:
parent
3b8ae6439c
commit
1085709407
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue