mirror of
https://github.com/magefree/mage.git
synced 2025-12-26 05:22:02 -08:00
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:
parent
31afdefe7b
commit
7e2f606d8a
1 changed files with 1 additions and 1 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue