Skip to content

Commit d2cd816

Browse files
committed
Fixed comments.
1 parent 0111819 commit d2cd816

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
@@ -57,11 +57,11 @@ public PreviewsView(EventBus eventBus, PipelineView pipeline) {
5757
this.eventBus.register(this);
5858
}
5959

60-
@Subscribe
6160
/**
6261
* This function is called when a step moves in the pipeline to adjust the positions of any open previews it has
6362
* to reflect the new order of the pipeline.
6463
*/
64+
@Subscribe
6565
public synchronized void onPreviewOrderChanged(StepMovedEvent event) {
6666
Platform.runLater(() -> {//Run this function on the main gui thread
6767
final Step movedStep = event.getStep(); //The step whose position in the pipeline has changed
@@ -148,10 +148,10 @@ public synchronized void onPreviewOrderChanged(StepMovedEvent event) {
148148
});
149149
}
150150

151-
@Subscribe
152151
/**
153152
* This function is called when a preview button is pushed/triggered
154153
*/
154+
@Subscribe
155155
public synchronized void onSocketPreviewChanged(SocketPreviewChangedEvent event) {
156156
Platform.runLater(() -> {//Run this function on the main gui thread
157157

0 commit comments

Comments
 (0)