mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
Fix border color rendering
This commit is contained in:
@@ -308,13 +308,16 @@ public class CardPanel extends SkinnedPanel implements CardContainer, IDisposabl
|
||||
switch (ed.getBorderColor()) {
|
||||
case WHITE:
|
||||
g2d.setColor(Color.WHITE);
|
||||
colorIsSet = true;
|
||||
break;
|
||||
case GOLD:
|
||||
g2d.setColor(Color.ORANGE);
|
||||
colorIsSet = true;
|
||||
break;
|
||||
case SILVER:
|
||||
g2d.setColor(Color.GRAY);
|
||||
colorIsSet = true;
|
||||
}
|
||||
g2d.setColor(Color.WHITE);
|
||||
colorIsSet = true;
|
||||
}
|
||||
if (colorIsSet) {
|
||||
final int ins = 1;
|
||||
|
||||
Reference in New Issue
Block a user