- Do not try to rotate the foil for the non-current zoomed card since they're shown non-rotated and will break the foil effect.

git-svn-id: http://svn.slightlymagic.net/forge/trunk@35831 269b9781-a132-4a9b-9d4e-f004f1b56b58
This commit is contained in:
Agetian 2017-09-29 11:01:41 +00:00
parent 2ce894576c
commit 0f1c738130

View File

@ -347,7 +347,7 @@ public class CardImageRenderer {
else
g.drawImage(image, x, y, w, h);
}
CardRenderer.drawFoilEffect(g, card, x, y, w, h, true);
CardRenderer.drawFoilEffect(g, card, x, y, w, h, isCurrentCard);
}
public static void drawDetails(Graphics g, CardView card, GameView gameView, boolean altState, float x, float y, float w, float h) {