Improve positioning of tooltips in advanced mode

This commit is contained in:
Arjen Hiemstra 2016-05-11 17:03:54 +02:00
parent b7fd97737c
commit d68f274a09
3 changed files with 5 additions and 5 deletions

View file

@ -27,7 +27,7 @@ Rectangle
function showTooltip(item, position, text)
{
tooltip.text = text;
position = item.mapToItem(base, position.x, position.y / 2);
position = item.mapToItem(base, position.x, position.y);
tooltip.show(position);
}