- Do not rotate the foil effect on the card if it has no picture (it's then drawn vertically).

git-svn-id: http://svn.slightlymagic.net/forge/trunk@35835 269b9781-a132-4a9b-9d4e-f004f1b56b58
This commit is contained in:
Agetian 2017-09-29 15:00:35 +00:00
parent 0964e0c970
commit a9885d64ea

View File

@ -353,7 +353,7 @@ public class CardImageRenderer {
g.drawImage(image, x, y, w, h);
}
}
CardRenderer.drawFoilEffect(g, card, x, y, w, h, isCurrentCard && canLook);
CardRenderer.drawFoilEffect(g, card, x, y, w, h, isCurrentCard && canLook && image != ImageCache.defaultImage);
}
public static void drawDetails(Graphics g, CardView card, GameView gameView, boolean altState, float x, float y, float w, float h) {