Fix issue #2249 - Black borders on non-rendered cards

* Turns out that drawing black borders on non-rendered cards, while it fixes what was probably a bug, has unintentional and undesirable implications. Needs further work in the future, but revert it for now.
This commit is contained in:
Mark Langen 2016-09-15 20:02:20 -06:00
parent 31afdefe7b
commit 7e2f606d8a

View file

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