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 @@ -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
You can’t perform that action at this time.
0 commit comments