[UI] Removing black borders for cards with images as it gives more space

This commit is contained in:
magenoxx 2014-08-06 10:27:36 +04:00
parent 9f76582bff
commit fbf3554051

View file

@ -419,7 +419,7 @@ public class CardPanel extends MagePermanent implements MouseListener, MouseMoti
if (!hasImage) {
g2d.setColor(new Color(30, 200, 200, 120));
} else {
g2d.setColor(new Color(0, 0, 0, 200));
g2d.setColor(new Color(0, 0, 0, 0));
}
int cornerSize = Math.max(4, Math.round(cardWidth * ROUNDED_CORNER_SIZE));