mirror of
https://bitbucket.org/mfeemster/fractorium.git
synced 2025-02-01 18:40:12 -05:00
Merged in mmastriani/fractorium/Michel-Mastriani/curvesgraphicsviewcpp-edited-online-with-1578144335752 (pull request #32)
CurvesGraphicsView.cpp edited online with Bitbucket Approved-by: Matt Feemster <matt.feemster@gmail.com>
This commit is contained in:
commit
89aab8e360
@ -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