summaryrefslogtreecommitdiffhomepage
path: root/qfunctionconfigurator/qfunctionconfigurator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qfunctionconfigurator/qfunctionconfigurator.cpp')
-rw-r--r--qfunctionconfigurator/qfunctionconfigurator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qfunctionconfigurator/qfunctionconfigurator.cpp b/qfunctionconfigurator/qfunctionconfigurator.cpp
index 6540e66f..b959b56c 100644
--- a/qfunctionconfigurator/qfunctionconfigurator.cpp
+++ b/qfunctionconfigurator/qfunctionconfigurator.cpp
@@ -232,7 +232,7 @@ void QFunctionConfigurator::paintEvent(QPaintEvent *e)
// This new feature is very handy for tweaking the curves!
//
if (_config->getLastPoint( currentPoint )) {
- actualPos = point_to_pixel( currentPoint );
+ actualPos = point_to_pixel( QPointF(fabs(currentPoint.x()), fabs(currentPoint.y())) );
drawPoint(&p, actualPos, QColor(255, 0, 0, 120));
pen.setWidth(1);