File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 4848import processing .app .javax .swing .filechooser .FileNameExtensionFilter ;
4949import processing .app .packages .Library ;
5050import processing .app .packages .LibraryList ;
51+ import processing .app .tools .MenuScroller ;
5152import processing .app .tools .ZipDeflater ;
5253import processing .core .*;
5354import static processing .app .I18n ._ ;
@@ -1632,8 +1633,10 @@ public void actionPerformed(ActionEvent e) {
16321633 // not a sketch folder, but maybe a subfolder containing sketches
16331634 JMenu submenu = new JMenu (name );
16341635 boolean found = addSketches (submenu , folder , replaceExisting );
1635- if (found )
1636+ if (found ) {
16361637 menu .add (submenu );
1638+ MenuScroller .setScrollerFor (submenu );
1639+ }
16371640 return found ;
16381641 }
16391642
You can’t perform that action at this time.
0 commit comments