Browse Source

Added new Feature for Start and Endpoint of a Graph. Works not in
EditMode

Tom Troppmann 6 years ago
parent
commit
522b54d9c5
1 changed files with 0 additions and 1 deletions
  1. 0 1
      src/ui/view/UnitGraph.java

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

@@ -208,7 +208,6 @@ public class UnitGraph extends JPanel implements MouseListener, MouseMotionListe
     	path2.lineTo(startpunkt.x, startpunkt.y);
     	g.draw(path2);
     	//Ende
-    	Path2D.Double path3 = new Path2D.Double();
     	Position endpunkt = actualGraphPoints.getLast().displayedPosition;
     	path2.moveTo(endpunkt.x,endpunkt.y);
     	path2.lineTo(2 * border + border+widthWithBorder, endpunkt.y);