mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-10-10 08:03:04 -04:00
quickscreen: update SBS after each button press
Quickscreen will ignore update_delay so that the SBS is updated after each button press, without any lag. The SBS may display settings that are adjusted by the Quickscreen (e.g. cabbiev2's Shuffle and Repeat icons, or the brightness slider included in themes like Adwaitapod and Themify). Change-Id: I28716e81cb77e235eb009bff91c96f510365f435
This commit is contained in:
parent
be62759005
commit
8cfa4bfd8c
1 changed files with 6 additions and 6 deletions
|
|
@ -416,14 +416,10 @@ static void quickscreen_run(struct quickscreen * qs)
|
|||
}
|
||||
else if (button == qs->button_enter)
|
||||
can_quit = true;
|
||||
else if (button == ACTION_QS_VOLUP) {
|
||||
else if (button == ACTION_QS_VOLUP)
|
||||
adjust_volume(1);
|
||||
sb_skin_force_next_update();
|
||||
}
|
||||
else if (button == ACTION_QS_VOLDOWN) {
|
||||
else if (button == ACTION_QS_VOLDOWN)
|
||||
adjust_volume(-1);
|
||||
sb_skin_force_next_update();
|
||||
}
|
||||
else if (button == ACTION_STD_CONTEXT)
|
||||
{
|
||||
qs->result |= QUICKSCREEN_GOTO_SHORTCUTS_MENU;
|
||||
|
|
@ -434,6 +430,10 @@ static void quickscreen_run(struct quickscreen * qs)
|
|||
|
||||
if (button == ACTION_STD_CANCEL)
|
||||
break;
|
||||
|
||||
/* Ignore SBS update_delay, so that setting
|
||||
changes are immediately visible. */
|
||||
sb_skin_force_next_update();
|
||||
}
|
||||
/* Notify that we're exiting this screen */
|
||||
cond_talk_ids_fq(VOICE_OK);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue