Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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)

AltStyle によって変換されたページ (->オリジナル) /