diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2015-07-07 11:50:24 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2015-07-07 13:12:05 +0200 |
commit | 87e7547b3b5ea10630f6f1238ce04c9e6e354b78 (patch) | |
tree | c4a8be437fb82bca6418a33ef3ba88e47ca286ec /qfunctionconfigurator/qfunctionconfigurator.cpp | |
parent | 80bac8b7583f1757d17bbc2ead69261b8b6347b5 (diff) |
qfc: don't cancel moving if points come too close
Instead, block moving but allow the user to move the other way.
Diffstat (limited to 'qfunctionconfigurator/qfunctionconfigurator.cpp')
-rw-r--r-- | qfunctionconfigurator/qfunctionconfigurator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qfunctionconfigurator/qfunctionconfigurator.cpp b/qfunctionconfigurator/qfunctionconfigurator.cpp index a59b0f00..3d86216e 100644 --- a/qfunctionconfigurator/qfunctionconfigurator.cpp +++ b/qfunctionconfigurator/qfunctionconfigurator.cpp @@ -257,7 +257,7 @@ void QFunctionConfigurator::mouseMoveEvent(QMouseEvent *e) QPoint pix = e->pos(); QPointF new_pt = pixel_coord_to_point(pix); - static constexpr int limit = 8; + static constexpr int limit = 16; for (int i = 0; i < 2; i++) { |