Skip to content

Commit

Permalink
cpn fix negative curve plot
Browse files Browse the repository at this point in the history
  • Loading branch information
elecpower committed Jul 24, 2024
1 parent e00df2e commit 3c2211c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion companion/src/shared/curveimagewidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ void CurveImageWidget::draw()

QImage image = curveImage->get();
if (index < 0)
image = image.mirrored(false, true);
image = image.mirrored(true, false);
setPixmap(QPixmap::fromImage(image.scaled(height(), width())));

delete curveImage;
Expand Down

0 comments on commit 3c2211c

Please sign in to comment.