Skip to content

Commit

Permalink
SecondaryGrid - Fix background color when exact amount is banked
Browse files Browse the repository at this point in the history
Fixes #103
  • Loading branch information
TheStonedTurtle committed Feb 12, 2023
1 parent 9017a86 commit 154e65f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ private void refreshUI()
+ "<br/>" + resources.toString() + "</html>";
label.setToolTipText(tooltip);

label.setBackground(result > 0 ? GridItem.SELECTED_BACKGROUND : GridItem.IGNORED_BACKGROUND);
label.setBackground(result >= 0 ? GridItem.SELECTED_BACKGROUND : GridItem.IGNORED_BACKGROUND);
add(label);
}
}
Expand Down

0 comments on commit 154e65f

Please sign in to comment.