Max label distance from point seek in mm.
--HG-- branch : develop
This commit is contained in:
parent
ade24ab84d
commit
c7c86cf416
|
@ -253,7 +253,7 @@ void VToolPoint::RefreshLine()
|
||||||
{
|
{
|
||||||
lineName->setPen(QPen(Qt::black, qApp->toPixel(qApp->widthHairLine())/factor));
|
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);
|
lineName->setVisible(false);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user