forked from len0rd/rockbox
revert FS#6747 — y-margin reset in gui_list_draw, it introduced a nasty
scroll bug which isnt so simple to fix. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12719 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
c2d2106fd7
commit
f83d6eb145
3 changed files with 9 additions and 3 deletions
|
@ -1287,6 +1287,8 @@ static bool viewer_options_menu(void)
|
|||
result = rb->menu_run(m);
|
||||
rb->menu_exit(m);
|
||||
#ifdef HAVE_LCD_BITMAP
|
||||
rb->lcd_setmargins(0,0);
|
||||
|
||||
/* Show-scrollbar mode for current view-width mode */
|
||||
if (!ONE_SCREEN_FITS_ALL())
|
||||
if (prefs.scrollbar_mode == true)
|
||||
|
@ -1326,6 +1328,9 @@ static void viewer_menu(void)
|
|||
break;
|
||||
}
|
||||
rb->menu_exit(m);
|
||||
#ifdef HAVE_LCD_BITMAP
|
||||
rb->lcd_setmargins(0,0);
|
||||
#endif
|
||||
viewer_draw(col);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue