mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 04:38:00 +00:00
*Fixed Flip/Transform button not disappearing in deck edit when selecting non-flip/transform card after selecting flip/transform card.
This commit is contained in:
@@ -99,7 +99,6 @@ public class CardPanelHeavy extends CardPanelBase {
|
|||||||
}
|
}
|
||||||
picture.setCard(c);
|
picture.setCard(c);
|
||||||
|
|
||||||
|
|
||||||
if(c.hasAlternateState()) {
|
if(c.hasAlternateState()) {
|
||||||
changeStateButton.setVisible(true);
|
changeStateButton.setVisible(true);
|
||||||
if(c.isFlip()) {
|
if(c.isFlip()) {
|
||||||
@@ -109,6 +108,9 @@ public class CardPanelHeavy extends CardPanelBase {
|
|||||||
changeStateButton.setText("Transform");
|
changeStateButton.setText("Transform");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
changeStateButton.setVisible(false);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user