Skip to content

Commit 763ed07

Browse files
committed
Merge pull request #1234 from sgk/scrollTabMenu
Scroll the editor tab menu.
2 parents e1856b3 + 1c7c530 commit 763ed07

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/src/processing/app/EditorHeader.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
*/
2323

2424
package processing.app;
25+
import processing.app.tools.MenuScroller;
2526
import static processing.app.I18n._;
2627

2728
import java.awt.*;
@@ -238,6 +239,7 @@ public void rebuildMenu() {
238239

239240
} else {
240241
menu = new JMenu();
242+
MenuScroller.setScrollerFor(menu);
241243
popup = menu.getPopupMenu();
242244
add(popup);
243245
popup.setLightWeightPopupEnabled(true);

0 commit comments

Comments
 (0)