mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 02:08:00 +00:00
[Mobile] Add support for viewing both sides of facedown DFC
This commit is contained in:
@@ -180,6 +180,12 @@ public class CardZoom extends FOverlay {
|
||||
return true;
|
||||
}
|
||||
if (flipIconBounds != null && flipIconBounds.contains(x, y)) {
|
||||
if (currentCard.isFaceDown() && currentCard.getBackup() != null) {
|
||||
if (currentCard.getBackup().hasBackSide()) {
|
||||
show(currentCard.getBackup());
|
||||
return true;
|
||||
}
|
||||
}
|
||||
if (!showBackSide)
|
||||
showAltState = !showAltState;
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user