Skip to content

Commit 9c1fd0d

Browse files
author
Federico Fissore
committed
Scrollable menus can be a little higher
1 parent 777e726 commit 9c1fd0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/processing/app/tools/MenuScroller.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ private int getMaximumDrawableMenuItems() {
482482
double screenHeight = java.awt.Toolkit.getDefaultToolkit().getScreenSize().getHeight();
483483

484484
int maxItems = (int) ((screenHeight - arrowMenuItemHeight * 2 - menuBorderHeight) / itemHeight);
485-
maxItems -= maxItems / 3;
485+
maxItems -= maxItems / 4;
486486
return maxItems;
487487
}
488488

0 commit comments

Comments
 (0)