loottracker: add average per kill to subtitle tooltip

This commit is contained in:
Michael
2020-03-16 18:57:21 -04:00
committed by GitHub
parent 7b4e8c2848
commit 24e291fd46
@@ -222,6 +222,7 @@ class LootTrackerBox extends JPanel
if (kills > 1)
{
subTitleLabel.setText("x " + kills);
subTitleLabel.setToolTipText(QuantityFormatter.formatNumber(totalPrice / kills) + " gp (average)");
}
validate();