File tree Expand file tree Collapse file tree
ui/src/main/java/edu/wpi/grip/ui/pipeline Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -170,16 +170,16 @@ private void expand() {
170170 if (expanded ) {
171171 for (InputSocketController input : inputSockets ) {
172172 if (input .getSocket ().getConnections ().isEmpty ()) {
173- inputSocketMapManager .remove (input );
173+ input .getRoot ().setVisible (false );
174+ input .getRoot ().setManaged (false );
174175 }
175176 }
176177 expandIcon .setImage (new Image ("/edu/wpi/grip/ui/icons/down.png" ));
177178 expanded = false ;
178179 } else {
179180 for (InputSocketController input : inputSockets ) {
180- if (!inputSocketMapManager .containsKey (input )) {
181- inputSocketMapManager .add (input );
182- }
181+ input .getRoot ().setManaged (true );
182+ input .getRoot ().setVisible (true );
183183 }
184184 expandIcon .setImage (new Image ("/edu/wpi/grip/ui/icons/up.png" ));
185185 expanded = true ;
You can’t perform that action at this time.
0 commit comments