|
@@ -86,7 +86,7 @@ public class BlockCalc implements AlgorithmStage {
|
|
current.setColor( u.getRoot().getColor() );
|
|
current.setColor( u.getRoot().getColor() );
|
|
current.setRoot( u.getRoot() );
|
|
current.setRoot( u.getRoot() );
|
|
current.setAlignTo( current.getRoot() );
|
|
current.setAlignTo( current.getRoot() );
|
|
- r = graph.getContainedLayers().get( layerIndex - 1 ).indexOf( u );
|
|
|
|
|
|
+ r = graph.getContainedLayers().get( layerIndex - 1 ).indexOf( u ) + 1;
|
|
int oldStep = step++;
|
|
int oldStep = step++;
|
|
backwards.add( 0, () -> {
|
|
backwards.add( 0, () -> {
|
|
System.out.println( "Stepping Backwards... (Step " + oldStep + ")" );
|
|
System.out.println( "Stepping Backwards... (Step " + oldStep + ")" );
|