mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 10:48:00 +00:00
EffectEffect: now does treat emblems different than Effects, also does try to guess the ImageKey from Name for Emblems
shows the PlaneswalkerType for the Emblem but thats only cosmetic.
This commit is contained in:
@@ -253,7 +253,7 @@ public class CardPanel extends SkinnedPanel implements CardContainer, IDisposabl
|
||||
final CardStateView state = getCard().getCurrentState();
|
||||
final CardEdition ed = FModel.getMagicDb().getEditions().get(state.getSetCode());
|
||||
boolean colorIsSet = false;
|
||||
if (state.getType().hasStringType("Effect")) {
|
||||
if (state.getType().isEmblem() || state.getType().hasStringType("Effect")) {
|
||||
// Effects are drawn with orange border
|
||||
g2d.setColor(Color.ORANGE);
|
||||
colorIsSet = true;
|
||||
|
||||
Reference in New Issue
Block a user