Fixed 'Graveyard' label cut on top in grave dialog

This commit is contained in:
magenoxx 2013-01-14 17:57:03 +04:00
parent 43d1dfc0ef
commit 1fac540639

View file

@ -42,15 +42,15 @@ public class ShadowLabel extends JLabel {
if (!invertColors) {
g2D.setFont(f);
g2D.setColor(new Color(0, 0, 0));
g2D.drawString(this.text, 1, 11);
g2D.drawString(this.text, 1, 14);
g2D.setColor(new Color(255, 255, 255, 230));
g2D.drawString(this.text, 0, 10);
g2D.drawString(this.text, 0, 13);
} else {
g2D.setFont(f);
g2D.setColor(new Color(255, 255, 255, 230));
g2D.drawString(this.text, 1, 11);
g2D.drawString(this.text, 1, 14);
g2D.setColor(new Color(0, 0, 0));
g2D.drawString(this.text, 0, 10);
g2D.drawString(this.text, 0, 13);
}
g2D.dispose();