mirror of
https://github.com/correl/mage.git
synced 2024-11-14 19:19:32 +00:00
* GUI: fixed that card viewer or deck editor doesn't show transform button for some cards (#8448);
This commit is contained in:
parent
db29b009cd
commit
23bcc9dbb5
2 changed files with 2 additions and 2 deletions
|
@ -866,7 +866,7 @@ public abstract class CardPanel extends MagePermanent implements ComponentListen
|
|||
// alternative side -> main side
|
||||
copySelections(this.cardSideOther, this.cardSideMain);
|
||||
update(this.cardSideMain);
|
||||
this.getGameCard().setAlternateName(this.cardSideOther.getName()); // wtf null protect
|
||||
this.getGameCard().setAlternateName(this.cardSideOther.getName());
|
||||
}
|
||||
|
||||
updateArtImage();
|
||||
|
|
|
@ -179,6 +179,6 @@ public class MockCard extends CardImpl {
|
|||
@Override
|
||||
public boolean isTransformable() {
|
||||
// must enable toggle mode in deck editor (switch between card sides);
|
||||
return super.isTransformable() || this.isModalDoubleFacesCard;
|
||||
return super.isTransformable() || this.isModalDoubleFacesCard || this.secondSideCard != null;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue