From 87e7547b3b5ea10630f6f1238ce04c9e6e354b78 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 7 Jul 2015 11:50:24 +0200 Subject: qfc: don't cancel moving if points come too close Instead, block moving but allow the user to move the other way. --- qfunctionconfigurator/qfunctionconfigurator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++) { -- cgit v1.2.3