Kevin Trometer %!s(int64=8) %!d(string=hai) anos
pai
achega
94c679e98f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/ui/view/UnitGraph.java

+ 1 - 1
src/ui/view/UnitGraph.java

@@ -71,7 +71,7 @@ class UnitGraph extends JPanel implements MouseListener, MouseMotionListener, Co
 	@Override
 	public void mouseDragged(MouseEvent e) {
 		if (pointDrag) {
-			pointList[tempP].setLocation(pointList[TempP].getX(), e.getY());
+			pointList[tempP].setLocation(pointList[tempP].getX(), e.getY());
 			System.out.println("drag");
 		}
 		repaint();