Merge pull request #1076 from Kamielvf/item-price-tooltip-linebreak

Item price tooltip: use linebreak instead of comma
This commit is contained in:
Adam
2018-03-25 18:05:53 -04:00
committed by GitHub

View File

@@ -227,8 +227,12 @@ class ItemPricesOverlay extends Overlay
}
if (haValue > 0)
{
itemStringBuilder.append(gePrice > 0 ? ", " : "")
.append("HA: ")
if (gePrice > 0)
{
itemStringBuilder.append("</br>");
}
itemStringBuilder.append("HA: ")
.append(StackFormatter.quantityToStackSize(haValue * qty))
.append(" gp");
if (config.showEA() && qty > 1)