Max label distance from point seek in mm.

--HG--
branch : develop
This commit is contained in:
dismine 2014-08-14 14:21:13 +03:00
parent ade24ab84d
commit c7c86cf416

View File

@ -253,7 +253,7 @@ void VToolPoint::RefreshLine()
{
lineName->setPen(QPen(Qt::black, qApp->toPixel(qApp->widthHairLine())/factor));
}
if (QLineF(p1, pRec - scenePos()).length() <= qApp->toPixel(4))
if (QLineF(p1, pRec - scenePos()).length() <= qApp->toPixel(4, Unit::Mm))
{
lineName->setVisible(false);
}