Browse Source

AuswahlFix

Tom 5 năm trước cách đây
mục cha
commit
4e2eed9885
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      src/exampleAlgorithms/DemoAlgo.java

+ 1 - 0
src/exampleAlgorithms/DemoAlgo.java

@@ -398,6 +398,7 @@ public class DemoAlgo implements Algorithm {
 		private void updateVisual() {
 			control.calculateStateAndVisualForCurrentTimeStep();
 			control.updateCanvas();
+			control.getGui().triggerUpdateController(null);
 		}
 		/**
 		 * Sets the Model back to its original State before the LAST run.