|
@@ -573,7 +573,7 @@ public class UnitGraph extends JPanel implements MouseListener, MouseMotionListe
|
|
|
public void reset() {
|
|
|
pointList.removeAll(pointList);
|
|
|
if (isSwitch) {
|
|
|
- pointList.addFirst(new Point(-4, (int) (height / 6)));
|
|
|
+ pointList.addFirst(new Point(-border, (int) (height / 6)));
|
|
|
pointList.addLast(new Point((int) (width) + 4, (int) (height / 6)));
|
|
|
} else {
|
|
|
pointList.addFirst(new Point(0, 0));
|