forked from External/mage
GUI: improved cards with transform ability:
* added transform button to permanents on battlefield to view another card side; * fixed wrong popup hints in some use cases (example: alternative side view by mouse wheel down, #8433);
This commit is contained in:
parent
767fd89199
commit
1f381cffe5
8 changed files with 91 additions and 104 deletions
|
|
@ -71,12 +71,10 @@ public class PermanentView extends CardView {
|
|||
if (original != null && !original.getName().equals(this.getName())) {
|
||||
if (permanent.isCopy() && permanent.isFlipCard()) {
|
||||
this.alternateName = permanent.getFlipCardName();
|
||||
this.originalName = this.getName();
|
||||
} else {
|
||||
if (controlled // controller may always know
|
||||
|| (!morphed && !manifested)) { // others don't know for morph or transformed cards
|
||||
this.alternateName = original.getName();
|
||||
this.originalName = this.getName();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue