diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2013-09-15 03:52:06 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2013-09-15 03:52:06 +0200 |
commit | 28a6805bbc37590612836d32cc4321bd4bbd4c5d (patch) | |
tree | d45611e335dff8693a8e91896e393dd57f0b5ff4 | |
parent | ec228053011db8a2d265e39ed0ba2ce240177d17 (diff) |
Reduce UI artifacts in edge cases
-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 97d89cbb..4a5f7ca6 100644 --- a/qfunctionconfigurator/qfunctionconfigurator.cpp +++ b/qfunctionconfigurator/qfunctionconfigurator.cpp @@ -244,7 +244,7 @@ QPointF currentPoint; prevPoint = graphicalizePoint( QPointF(0,0) ); // Start at the Axis double max = maxInputEGU(); QPointF prev = graphicalizePoint(QPointF(0, 0)); - double step = 1e-1 / (double) pixPerEGU_Input(); + const double step = 1.01; for (double i = 0; i < max; i += step) { double val = _config->getValue(i); QPointF cur = graphicalizePoint(QPointF(i, val)); |