From a7e53348e92789abe2fd01e538ec81cd1b80b709 Mon Sep 17 00:00:00 2001 From: Agetian Date: Sat, 22 Apr 2017 13:46:36 +0000 Subject: [PATCH] - When zooming in on an Aftermath split card in desktop Forge, rotate it the other way compared to a standard split to correctly visualize the graveyard half (right split). --- .../src/main/java/forge/toolbox/special/CardZoomer.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/forge-gui-desktop/src/main/java/forge/toolbox/special/CardZoomer.java b/forge-gui-desktop/src/main/java/forge/toolbox/special/CardZoomer.java index f023dea570c..8eea5081e06 100644 --- a/forge-gui-desktop/src/main/java/forge/toolbox/special/CardZoomer.java +++ b/forge-gui-desktop/src/main/java/forge/toolbox/special/CardZoomer.java @@ -226,6 +226,9 @@ public enum CardZoomer { if (thisCard == null) { return 0; } + if (thisCard.getCard().isSplitCard() && thisCard.getCard().getText().contains("Aftermath")) { + return 270; // rotate Aftermath splits the other way to correctly show the right split (graveyard) half + } return thisCard.getCard().isSplitCard() || thisCard.getType().isPlane() || thisCard.getType().isPhenomenon() ? 90 : 0; }