Skip to content

Commit

Permalink
variant 7b
Browse files Browse the repository at this point in the history
  • Loading branch information
Explorer09 committed Apr 8, 2024
1 parent 67ea821 commit e2ef3cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Meter.c
Original file line number Diff line number Diff line change
Expand Up @@ -875,8 +875,8 @@ static void GraphMeterMode_computeColors(Meter* this, const GraphDrawContext* co
}
assert(threshold <= thresholdHigh);
} else if (restart.nItemsPainted <= topCellItem && restart.valueSum < DBL_MAX) {
if (prev.nCellsPainted - adjSmall.nCells + adjLarge.nCells < nCellsToPaint) {
// (restart.nCellsPainted + rItemMinCells + adjLarge.nCells < nCellsToPaint)
if (restart.nCellsPainted + rItemMinCells + adjLarge.nCells < nCellsToPaint) {
// (prev.nCellsPainted - adjSmall.nCells + adjLarge.nCells < nCellsToPaint)
rItemHasExtraCell = true;
isLastTiebreak = true;
} else if (prev.nCellsPainted >= nCellsToPaint) {
Expand Down

0 comments on commit e2ef3cc

Please sign in to comment.