mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 03:08:02 +00:00
- Morph color leak hack is no longer necessary for the desktop version of the game.
This commit is contained in:
@@ -34,7 +34,6 @@ import forge.card.CardDetailUtil;
|
||||
import forge.card.CardDetailUtil.DetailColors;
|
||||
import forge.card.CardEdition;
|
||||
import forge.card.CardRarity;
|
||||
import forge.card.CardStateName;
|
||||
import forge.game.GameView;
|
||||
import forge.game.card.Card;
|
||||
import forge.game.card.CardView;
|
||||
@@ -238,11 +237,7 @@ public class CardDetailPanel extends SkinnedPanel {
|
||||
setInfoLabel.setBorder(BorderFactory.createLineBorder(foreColor));
|
||||
}
|
||||
|
||||
if (state.getState() == CardStateName.FaceDown) {
|
||||
updateBorder(state, false); // TODO: HACK! A temporary measure until the morphs still leaking color can be fixed properly.
|
||||
} else {
|
||||
updateBorder(state, mayView);
|
||||
}
|
||||
updateBorder(state, mayView);
|
||||
|
||||
powerToughnessLabel.setText(CardDetailUtil.formatPowerToughness(state, mayView));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user