mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 03:38: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()) {
|
switch (ed.getBorderColor()) {
|
||||||
case WHITE:
|
case WHITE:
|
||||||
g2d.setColor(Color.WHITE);
|
g2d.setColor(Color.WHITE);
|
||||||
|
colorIsSet = true;
|
||||||
|
break;
|
||||||
case GOLD:
|
case GOLD:
|
||||||
g2d.setColor(Color.ORANGE);
|
g2d.setColor(Color.ORANGE);
|
||||||
|
colorIsSet = true;
|
||||||
|
break;
|
||||||
case SILVER:
|
case SILVER:
|
||||||
g2d.setColor(Color.GRAY);
|
g2d.setColor(Color.GRAY);
|
||||||
|
colorIsSet = true;
|
||||||
}
|
}
|
||||||
g2d.setColor(Color.WHITE);
|
|
||||||
colorIsSet = true;
|
|
||||||
}
|
}
|
||||||
if (colorIsSet) {
|
if (colorIsSet) {
|
||||||
final int ins = 1;
|
final int ins = 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user