mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
(#466) A curve must be selected no further than 20 pixels away
If the selection point is more than 20 pixels away from any curve's points, the track is selected instead.
This commit is contained in:
parent
c79a01f3b9
commit
b151200ffc
@ -252,7 +252,7 @@ void RiuWellLogTrackPlot::selectClosestCurve(const QPoint& pos)
|
||||
}
|
||||
}
|
||||
|
||||
if (closestCurve)
|
||||
if (closestCurve && distMin < 20)
|
||||
{
|
||||
RimWellLogPlotCurve* selectedCurve = m_plotTrackDefinition->curveDefinitionFromCurve(closestCurve);
|
||||
if (selectedCurve)
|
||||
|
Loading…
Reference in New Issue
Block a user