aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--profile-widget/profilewidget2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/profile-widget/profilewidget2.cpp b/profile-widget/profilewidget2.cpp
index d6a5f3343..b40980e5f 100644
--- a/profile-widget/profilewidget2.cpp
+++ b/profile-widget/profilewidget2.cpp
@@ -2014,7 +2014,7 @@ void ProfileWidget2::plotPictures()
x = timeAxis->posAtValue(offsetSeconds);
if (i == 0)
y = 10;
- else if (fabs(x - lastX) < 4)
+ else if (fabs(x - lastX) < 3 && lastY <= (10 + 14 * 3))
y = lastY + 3;
else
y = 10;