Browse Source

Somehow forgot to commit UnitGraph

Ludwig Tietze 7 years ago
parent
commit
82df6a8fa8
1 changed files with 8 additions and 0 deletions
  1. 8 0
      src/ui/view/UnitGraph.java

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

@@ -863,6 +863,14 @@ public class UnitGraph extends JPanel implements MouseListener, MouseMotionListe
     	else return model.getGraphIterations();//TODO: maybe rename
     }
     
+    public boolean isStretching(){
+    	return current.isStretching();
+    }
+    
+    public void setStretching(boolean b){
+    	current.setStretching(b);
+    }
+    
     
     static int lv=0;