aboutsummaryrefslogtreecommitdiff
path: root/lineplot.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lineplot.cpp')
-rw-r--r--lineplot.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lineplot.cpp b/lineplot.cpp
index fb622ee..b4d7412 100644
--- a/lineplot.cpp
+++ b/lineplot.cpp
@@ -28,7 +28,7 @@ LinePlot::LinePlot(QQuickItem *parent)
, m_colorScaleChanged(false)
, m_bundleGPU(true)
{
- setTextureFollowsItemSize(true);
+ setTextureFollowsItemSize(false);
}
void LinePlot::setColorScale(const ColorScale *colorScale)
@@ -247,7 +247,7 @@ QOpenGLFramebufferObject *LinePlotRenderer::createFramebufferObject(const QSize
void LinePlotRenderer::render()
{
- if (!m_pointsChanged || !m_valuesChanged || !m_colormapChanged) {
+ if (!m_pointsChanged && !m_valuesChanged && !m_colormapChanged) {
return;
}