forked from External/mage
Fixed set codes and mana symbols in pay and tooltips.
This commit is contained in:
parent
4fad2ede12
commit
818d601cbb
3 changed files with 35 additions and 10 deletions
|
|
@ -31,7 +31,6 @@ public class MageTextArea extends JEditorPane {
|
|||
public void setText(String text, CardView source) {
|
||||
if (text == null) return;
|
||||
|
||||
boolean smallImages = false;
|
||||
int fontSize = 16;
|
||||
|
||||
String fontFamily = "arial";
|
||||
|
|
@ -52,7 +51,7 @@ public class MageTextArea extends JEditorPane {
|
|||
//buffer.append("<br>");
|
||||
//text = text.replaceAll("\\{this\\}", card.getName());
|
||||
//text = text.replaceAll("\\{source\\}", card.getName());
|
||||
buffer.append(ManaSymbols.replaceSymbolsWithHTML(text, smallImages));
|
||||
buffer.append(ManaSymbols.replaceSymbolsWithHTML(text, ManaSymbols.Type.PAY));
|
||||
}
|
||||
|
||||
buffer.append("</b></center></body></html>");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue