mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
plugins: simple viewer: prevent audio dropouts when scrolling
Change-Id: Idf3ee45585985beaccb991f4f66cd895aa3f7a4c
This commit is contained in:
parent
1fddea5e8e
commit
18fdb41b2c
1 changed files with 2 additions and 0 deletions
|
@ -217,6 +217,7 @@ static void scroll_up(struct view_info *info, int n)
|
|||
|
||||
calc_first_line(info, info->line-n);
|
||||
draw_text(info);
|
||||
rb->yield();
|
||||
}
|
||||
|
||||
static void scroll_down(struct view_info *info, int n)
|
||||
|
@ -226,6 +227,7 @@ static void scroll_down(struct view_info *info, int n)
|
|||
|
||||
calc_first_line(info, info->line+n);
|
||||
draw_text(info);
|
||||
rb->yield();
|
||||
}
|
||||
|
||||
static void scroll_to_top(struct view_info *info)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue