File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
ui/src/main/java/edu/wpi/grip/ui/preview Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ public synchronized void onPreviewOrderChanged(StepMovedEvent event) {
8080 if (this .previewedSockets .indexOf (i ) != -1 ) {//If this socket is previewed
8181 previewedMovedSockets .push (i );
8282
83- if (rightmostIndex < this .previewedSockets .indexOf (i )){
83+ if (rightmostIndex < this .previewedSockets .indexOf (i )) {
8484 rightmostIndex = this .previewedSockets .indexOf (i );
8585 }
8686
@@ -100,7 +100,7 @@ public synchronized void onPreviewOrderChanged(StepMovedEvent event) {
100100
101101 if (distanceMoved < 0 ) { //If the step moved left....
102102 newLocation = leftmostIndex + distanceMoved ; //Calculate the new index from the leftmost previewed socket of this step
103- }else { //The step must have moved right....
103+ } else { //The step must have moved right....
104104 newLocation = rightmostIndex + distanceMoved ;//So calculate the new index from the rightmost previewed socket of this step
105105 }
106106
You can’t perform that action at this time.
0 commit comments