fixed sign for rounded corners

This commit is contained in:
Maxmtg
2013-06-17 07:31:48 +00:00
parent 9de9d4ca53
commit 502a087962

View File

@@ -344,7 +344,7 @@ public class CardPanel extends JPanel implements CardContainer {
if (ed != null && ed.isWhiteBorder()) { if (ed != null && ed.isWhiteBorder()) {
g2d.setColor(Color.white); g2d.setColor(Color.white);
int ins = 1; int ins = 1;
g2d.fillRoundRect(this.cardXOffset + ins, this.cardYOffset + ins, this.cardWidth - ins*2, this.cardHeight - ins*2, cornerSize, cornerSize); g2d.fillRoundRect(this.cardXOffset + ins, this.cardYOffset + ins, this.cardWidth - ins*2, this.cardHeight - ins*2, cornerSize-ins, cornerSize-ins);
} }
} }
} }