Skip to content

Commit daef096

Browse files
committed
Fixed some formatting.
1 parent 366bbd5 commit daef096

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ui/src/main/java/edu/wpi/grip/ui/preview/PreviewsView.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)