mirror of https://github.com/noisymime/Arduino.git
Scrollable menus can be a little higher
This commit is contained in:
parent
777e726816
commit
9c1fd0d745
|
@ -482,7 +482,7 @@ public class MenuScroller {
|
|||
double screenHeight = java.awt.Toolkit.getDefaultToolkit().getScreenSize().getHeight();
|
||||
|
||||
int maxItems = (int) ((screenHeight - arrowMenuItemHeight * 2 - menuBorderHeight) / itemHeight);
|
||||
maxItems -= maxItems / 3;
|
||||
maxItems -= maxItems / 4;
|
||||
return maxItems;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue