Ver código fonte

error coused breakpoints only to trigger after two steps

Kolja Strohm 6 anos atrás
pai
commit
57f6a4f505

+ 6 - 0
src/animation/AnimationController.java

@@ -59,6 +59,12 @@ public class AnimationController {
      */
     public void setContinuous( boolean c )
     {
+        if( !c && continuous )
+        {
+            synchronized( this ) {
+                next = null;
+            }
+        }
         this.continuous = c;
     }
 

+ 1 - 0
src/bk/BKNodePlacement.java

@@ -333,6 +333,7 @@ public class BKNodePlacement extends AnimatedAlgorithm {
                     {
                     case FINISHED:
                         inside = false;
+                        conflictsNode.setSelected( false );
                         return StageStatus.FINISHED;
                     case BREAKPOINT:
                         inside = true;