Skip to content

Commit

Permalink
fix fills
Browse files Browse the repository at this point in the history
  • Loading branch information
yuzawa-san committed Oct 18, 2024
1 parent 779f5a5 commit 1e7961b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/qtgui/plotter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1582,11 +1582,11 @@ void CPlotter::draw(bool newData)
// Fill area between markers, even if they are off screen
qreal yFill = m_PlotMode == PLOT_MODE_MAX ? yMaxD : yAvgD;
if (fillMarkers && (ix) > minMarker && (ix) < maxMarker) {
abPolygon << QPointF(ixPlot, yFill + 1.0);
abPolygon << QPointF(ixPlot, yFill);
}
if (m_FftFill && m_PlotMode != PLOT_MODE_HISTOGRAM)
{
underPolygon << QPointF(ixPlot, yFill + 1.0);
underPolygon << QPointF(ixPlot, yFill);
}
if (m_PlotMode == PLOT_MODE_FILLED)
{
Expand Down

0 comments on commit 1e7961b

Please sign in to comment.