Fix so card text shows up properly in details pane

This commit is contained in:
drdev
2014-10-10 15:43:21 +00:00
parent dfb260286a
commit 1d67bcbcc1
22 changed files with 254 additions and 207 deletions

View File

@@ -176,15 +176,12 @@ public class PlayArea extends CardPanelContainer implements CardPanelMouseListen
break;
}
final String text = state.getText();
final String firstText = firstState.getText();
if (!panel.getAttachedPanels().isEmpty()
|| !card.hasSameCounters(firstPanel.getCard())
|| (card.isSick() != firstCard.isSick())
|| (state.getPower() != firstState.getPower())
|| (state.getToughness() != firstState.getToughness())
|| !(text.equals(firstText))
|| !(card.getText().equals(firstCard.getText()))
|| (stack.size() == tokenStackMax)) {
// If this token has attachments or the stack is full,
// put it to the right.