mirror of
https://github.com/Relintai/mtg-forge-ios.git
synced 2025-02-09 18:10:04 +01:00
- 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:
parent
0964e0c970
commit
a9885d64ea
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user