Kevin Trometer 7 vuotta sitten
vanhempi
commit
8df091de31
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  1. 2 0
      src/ui/view/GUI.java

+ 2 - 0
src/ui/view/GUI.java

@@ -902,10 +902,12 @@ public class GUI<E> implements CategoryListener {
 								for (HolonElement h : ((HolonObject) cps).getElements()) {
 									tempList.add(h);
 									unitGraph.repaintWithNewElement(tempList);
+									unitGraph.fillArrayofValue();
 									tempList.remove(0);
 								}
 							} else if (cps instanceof HolonSwitch) {
 								unitGraph.repaintWithNewSwitch((HolonSwitch) cps);
+								unitGraph.fillArrayofBooleans();
 							}
 						}
 						unitGraph.empty();