Skip to content

Commit

Permalink
fix: topmost line group was not painted
Browse files Browse the repository at this point in the history
- the topmost line group was not painted in some cases
- re-introduce a decrement lost in previous rework
  • Loading branch information
letsfindaway committed Sep 5, 2024
1 parent 588c353 commit 7c8bba5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/gui/UBBackgroundRuling.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -486,6 +486,8 @@ void UBBackgroundRuling::draw(QPainter* painter, const QRectF& rect, double grid
{
std::swap(minIndex, maxIndex);
}

--minIndex;
}

const auto distFrom = distance(originLine, stackFrom);
Expand Down

0 comments on commit 7c8bba5

Please sign in to comment.