File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
ui/src/main/java/edu/wpi/grip/ui/pipeline Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -170,16 +170,16 @@ private void expand() {
170
170
if (expanded ) {
171
171
for (InputSocketController input : inputSockets ) {
172
172
if (input .getSocket ().getConnections ().isEmpty ()) {
173
- inputSocketMapManager .remove (input );
173
+ input .getRoot ().setVisible (false );
174
+ input .getRoot ().setManaged (false );
174
175
}
175
176
}
176
177
expandIcon .setImage (new Image ("/edu/wpi/grip/ui/icons/down.png" ));
177
178
expanded = false ;
178
179
} else {
179
180
for (InputSocketController input : inputSockets ) {
180
- if (!inputSocketMapManager .containsKey (input )) {
181
- inputSocketMapManager .add (input );
182
- }
181
+ input .getRoot ().setManaged (true );
182
+ input .getRoot ().setVisible (true );
183
183
}
184
184
expandIcon .setImage (new Image ("/edu/wpi/grip/ui/icons/up.png" ));
185
185
expanded = true ;
You can’t perform that action at this time.
0 commit comments