loottracker: add average per kill to subtitle tooltip

This commit is contained in:
Michael
2020-03-17 09:57:21 +11:00
committed by GitHub
parent 7b4e8c2848
commit 24e291fd46

View File

@@ -222,6 +222,7 @@ class LootTrackerBox extends JPanel
if (kills > 1)
{
subTitleLabel.setText("x " + kills);
subTitleLabel.setToolTipText(QuantityFormatter.formatNumber(totalPrice / kills) + " gp (average)");
}
validate();