mirror of
https://github.com/magefree/mage.git
synced 2025-12-24 20:41:58 -08:00
GUI: fixed wrong ability text format for stack objects in popup image mode (closes #4057)
This commit is contained in:
parent
6e3fe7ec46
commit
0470ae9799
1 changed files with 2 additions and 1 deletions
|
|
@ -19,6 +19,7 @@ import mage.client.util.ImageHelper;
|
|||
import mage.constants.EnlargeMode;
|
||||
import org.jdesktop.swingx.JXPanel;
|
||||
import mage.client.util.TransformedImageCache;
|
||||
import org.mage.card.arcane.ManaSymbols;
|
||||
import org.mage.card.arcane.UI;
|
||||
|
||||
/**
|
||||
|
|
@ -96,7 +97,7 @@ public class BigCard extends JComponent {
|
|||
displayedText.append("<p style='margin: 2px'>").append(textLine).append("</p>");
|
||||
}
|
||||
}
|
||||
this.text.setText(displayedText.toString());
|
||||
this.text.setText(ManaSymbols.replaceSymbolsWithHTML(displayedText.toString(), ManaSymbols.Type.DIALOG));
|
||||
repaint();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue