* UI: added auto-size of PT box in mtgo render mode (large values are now visible);

This commit is contained in:
Oleg Agafonov 2019-05-11 14:55:55 +04:00
parent 5c48803ef9
commit 9518306016
2 changed files with 13 additions and 9 deletions

View file

@ -221,7 +221,7 @@ public final class GuiDisplayUtil {
if (card.getMageObjectType().isPermanent() && card instanceof PermanentView) {
int damage = ((PermanentView) card).getDamage();
if (damage > 0) {
textLines.getLines().add("<span color='red'><b>Damage dealt:</b> " + damage + "</span>"); // TODO
textLines.getLines().add("<span color='red'><b>Damage dealt:</b> " + damage + "</span>");
textLines.setBasicTextLength(textLines.getBasicTextLength() + 50);
}
}