From f29f62c3f7570310f6a5d76545ed735632a38b7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20K=C3=A4berich?= Date: Fri, 22 Apr 2022 13:53:12 +0200 Subject: [PATCH] Show limit lines even if start and stop point are out of view --- Software/PC_Application/Traces/tracexyplot.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Software/PC_Application/Traces/tracexyplot.cpp b/Software/PC_Application/Traces/tracexyplot.cpp index f08ccd6..ffb97ef 100644 --- a/Software/PC_Application/Traces/tracexyplot.cpp +++ b/Software/PC_Application/Traces/tracexyplot.cpp @@ -558,10 +558,6 @@ void TraceXYPlot::draw(QPainter &p) // scale to plot coordinates auto p1 = plotValueToPixel(line->getPoints()[j-1], i); auto p2 = plotValueToPixel(line->getPoints()[j], i); - if(!plotRect.contains(p1) && !plotRect.contains(p2)) { - // completely out of frame - continue; - } // draw line p.drawLine(p1, p2); }