forked from External/mage
Cascade and other "cast spell without paying" abilities - added card popup support for casting card (closes #11355)
This commit is contained in:
parent
1dc040a2c9
commit
6e3fe7ec46
3 changed files with 4 additions and 7 deletions
|
|
@ -62,7 +62,6 @@ public class MageTextArea extends MageEditorPane {
|
|||
|
||||
SwingUtilities.invokeLater(() -> {
|
||||
String promptText = buffer.toString();
|
||||
System.out.println(promptText);
|
||||
MageTextArea.super.setText(promptText);
|
||||
// in case the text don't fit in the panel a tooltip with the text is added
|
||||
if (panelWidth > 0 && MageTextArea.this.getPreferredSize().getWidth() > panelWidth) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue