mirror of
https://github.com/magefree/mage.git
synced 2025-12-20 10:40:06 -08:00
gui: fix Saga DFC rendering (#12134)
This commit is contained in:
parent
006f212b6b
commit
b76a3ba889
1 changed files with 6 additions and 3 deletions
|
|
@ -486,6 +486,9 @@ public class CardView extends SimpleCardView {
|
||||||
if (!permanent.getControllerId().equals(permanent.getOwnerId())) {
|
if (!permanent.getControllerId().equals(permanent.getOwnerId())) {
|
||||||
controlledByOwner = false;
|
controlledByOwner = false;
|
||||||
}
|
}
|
||||||
|
if (permanent.isTransformed()) {
|
||||||
|
transformed = true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (card.isCopy()) {
|
if (card.isCopy()) {
|
||||||
|
|
@ -631,10 +634,10 @@ public class CardView extends SimpleCardView {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Cases, classes and sagas have portrait art
|
// Cases, classes and sagas have portrait art
|
||||||
if (card.getSubtype().contains(SubType.CASE) ||
|
if (card.getSubtype(game).contains(SubType.CASE) ||
|
||||||
card.getSubtype().contains(SubType.CLASS)) {
|
card.getSubtype(game).contains(SubType.CLASS)) {
|
||||||
artRect = ArtRect.FULL_LENGTH_LEFT;
|
artRect = ArtRect.FULL_LENGTH_LEFT;
|
||||||
} else if (card.getSubtype().contains(SubType.SAGA)) {
|
} else if (card.getSubtype(game).contains(SubType.SAGA)) {
|
||||||
artRect = ArtRect.FULL_LENGTH_RIGHT;
|
artRect = ArtRect.FULL_LENGTH_RIGHT;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue