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
9577d580cc
commit
6794b42a03
@ -218,7 +218,7 @@ void CurvesGraphicsView::paintEvent(QPaintEvent* e)
|
|||||||
void CurvesGraphicsView::mousePressEvent(QMouseEvent* e)
|
void CurvesGraphicsView::mousePressEvent(QMouseEvent* e)
|
||||||
{
|
{
|
||||||
QGraphicsView::mousePressEvent(e);
|
QGraphicsView::mousePressEvent(e);
|
||||||
auto thresh = devicePixelRatioF() * 2;
|
auto thresh = devicePixelRatioF() * 10;
|
||||||
auto findpoint = [&](int x, int y) -> int
|
auto findpoint = [&](int x, int y) -> int
|
||||||
{
|
{
|
||||||
for (int i = 0; i < m_Points[m_Index].size(); i++)
|
for (int i = 0; i < m_Points[m_Index].size(); i++)
|
||||||
|
Loading…
Reference in New Issue
Block a user