Scrollable menus can be a little higher

This commit is contained in:
Federico Fissore 2015-05-26 09:26:52 +02:00
parent 777e726816
commit 9c1fd0d745
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}