Dofensmirtsz 10 年之前
父节点
当前提交
9380506d06
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. 3 2
      model/objects/DifficultyButton.java

+ 3 - 2
model/objects/DifficultyButton.java

@@ -27,9 +27,10 @@ public class DifficultyButton {
 		button = Images.initVolatileImage(305, 80, Transparency.OPAQUE);
 		Graphics2D g2 = button.createGraphics();
 		g2.setColor(Color.WHITE);
-		g2.fillRect(0, 0, 300, 75);
+		g2.fillRect(0, 0, 305, 80);
 		g2.setColor(Color.ORANGE);
-		g2.drawRect(0, 0, 300, 75);
+		g2.drawRect(0, 0, 304, 79);
+		g2.drawRect(2, 2, 300, 75);
 		//g2.drawRect(0-2, 0-2, 304, 79);
 		
 		g2.setColor(color);