mirror of
https://bitbucket.org/mfeemster/fractorium.git
synced 2025-02-01 10:30:08 -05:00
CurvesGraphicsView.cpp edited online with Bitbucket
This commit is contained in:
parent
ba1e5ed922
commit
d9d21a88b8
@ -242,7 +242,7 @@ void CurvesGraphicsView::mousePressEvent(QMouseEvent* e)
|
|||||||
if (i != -1)
|
if (i != -1)
|
||||||
emit PointRemovedSignal(m_Index, i);
|
emit PointRemovedSignal(m_Index, i);
|
||||||
}
|
}
|
||||||
else if (findpoint(e->pos().x(), e->pos().y(), thresh * 8) == -1)
|
else if (findpoint(e->pos().x(), e->pos().y(), thresh * 2) == -1)
|
||||||
{
|
{
|
||||||
QRectF rect = scene()->sceneRect();
|
QRectF rect = scene()->sceneRect();
|
||||||
auto points = m_Points[m_Index];
|
auto points = m_Points[m_Index];
|
||||||
|
Loading…
Reference in New Issue
Block a user