* GUI: fixed that card viewer or deck editor doesn't show transform button for some cards (#8448);

This commit is contained in:
Oleg Agafonov 2021-11-14 00:33:37 +04:00
parent db29b009cd
commit 23bcc9dbb5
2 changed files with 2 additions and 2 deletions

View file

@ -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;
}
}