mirror of
https://bitbucket.org/mfeemster/fractorium.git
synced 2025-01-21 13:10:04 -05:00
Merged in mmastriani/fractorium/Michel-Mastriani/curvesgraphicsviewcpp-edited-online-with-1577938448647 (pull request #30)
CurvesGraphicsView.cpp edited online with Bitbucket Approved-by: Matt Feemster <matt.feemster@gmail.com>
This commit is contained in:
commit
e657eac9fe
@ -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++)
|
||||
|
Loading…
Reference in New Issue
Block a user