mirror of
https://github.com/arduino/Arduino.git
synced 2025-01-29 18:52:13 +01:00
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…
x
Reference in New Issue
Block a user