aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scatterplot.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scatterplot.cpp b/scatterplot.cpp
index dd1f266..10e9765 100644
--- a/scatterplot.cpp
+++ b/scatterplot.cpp
@@ -174,8 +174,8 @@ QSGNode *Scatterplot::updatePaintNode(QSGNode *oldNode, UpdatePaintNodeData *)
tx = ty = 0;
}
- m_sx.setRange(PADDING, width() - 2*PADDING);
- m_sy.setRange(height() - 2*PADDING, PADDING);
+ m_sx.setRange(PADDING, width() - PADDING);
+ m_sy.setRange(height() - PADDING, PADDING);
QSGNode *node = root->firstChild()->firstChild();
float t = m_animationEasing.valueForProgress(m_t);