mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-23 19:21:59 +03:00
Scrollable menus can be a little higher
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user