CurvesGraphicsView.cpp edited online with Bitbucket

This commit is contained in:
Michel Mastriani 2020-01-02 04:14:14 +00:00
parent 9577d580cc
commit 6794b42a03

View File

@ -218,7 +218,7 @@ void CurvesGraphicsView::paintEvent(QPaintEvent* e)
void CurvesGraphicsView::mousePressEvent(QMouseEvent* e)
{
QGraphicsView::mousePressEvent(e);
auto thresh = devicePixelRatioF() * 2;
auto thresh = devicePixelRatioF() * 10;
auto findpoint = [&](int x, int y) -> int
{
for (int i = 0; i < m_Points[m_Index].size(); i++)