forked from len0rd/rockbox
Adjust menu scrollbar height to the actual text height. Idea taken from patch #1306243 by Stephan Wezel.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7598 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
13fcd68285
commit
1a4083d828
1 changed files with 1 additions and 0 deletions
|
|
@ -156,6 +156,7 @@ void menu_draw(int m)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
menu_lines = height / fh;
|
menu_lines = height / fh;
|
||||||
|
height = menu_lines * fh;
|
||||||
|
|
||||||
#else
|
#else
|
||||||
int menu_lines = MENU_LINES;
|
int menu_lines = MENU_LINES;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue