Browse Source

rückwärtsschritt bei conflict detection wird jetzt auch angezeigt

Kolja Strohm 7 years ago
parent
commit
75e833b833
1 changed files with 5 additions and 0 deletions
  1. 5 0
      src/bk/ConflictDetection.java

+ 5 - 0
src/bk/ConflictDetection.java

@@ -63,6 +63,11 @@ public class ConflictDetection implements AlgorithmStage {
     	actions.add( 0, ()->{
     		i = oldI;
     		l1 = oldL1;
+            if( i + 1 < graph.getContainedLayers().size() - 1 && l1 > 0 )
+            {
+                LayeredGraphNode layde = graph.getContainedLayers().get( i + 1 ).get( l1 - 1 );
+                layde.setSelected( null );
+            }
             for( LayeredGraphEdge c : conflicts )
             	c.setConflicted( false, null );
     	});