1
0
mirror of https://github.com/arduino/Arduino.git synced 2025-01-30 19:52:13 +01:00

Add scroller to INCOMPATIBLE examples menu

You need A LOT of libraries to trigger this :)
This commit is contained in:
Martino Facchin 2018-11-30 11:54:51 +01:00
parent 503ebd6a48
commit d7963f04c5

View File

@ -1286,6 +1286,7 @@ public class Base {
if (!sketchbookIncompatibleLibs.isEmpty()) {
sketchbookIncompatibleLibs.sort();
JMenu incompatible = new JMenu(tr("INCOMPATIBLE"));
MenuScroller.setScrollerFor(incompatible);
menu.add(incompatible);
for (UserLibrary lib : sketchbookIncompatibleLibs) {
addSketchesSubmenu(incompatible, lib);