Skip to content

Commit

Permalink
Fix typo in span selected color inversion
Browse files Browse the repository at this point in the history
Signed-off-by: Alexis Jeandet <[email protected]>
  • Loading branch information
jeandet committed Jun 10, 2023
1 parent c6e0f16 commit fc0eb88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/SciQLopPlots/SciQLopVerticalSpan.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ class VerticalSpan : public SciQLopPlotItem<QCPItemRect>
{
this->setBrush(QBrush { color, Qt::SolidPattern });
this->setSelectedBrush(QBrush {
QColor(255 - color.red(), 0 - color.green(), 255 - color.blue(), color.alpha()),
QColor(255 - color.red(), 255 - color.green(), 255 - color.blue(), color.alpha()),
Qt::SolidPattern });
this->setPen(QPen { Qt::NoPen });
this->setSelectedPen(QPen { Qt::NoPen });
Expand Down

0 comments on commit fc0eb88

Please sign in to comment.