diff options
author | Christian Soffke <christian.soffke@gmail.com> | 2021-04-04 00:14:37 +0200 |
---|---|---|
committer | Christian Soffke <christian.soffke@gmail.com> | 2021-04-04 00:14:37 +0200 |
commit | 4f374b38624e7dca94b4f952fc958d9401081ba1 (patch) | |
tree | a0c89ddad975f0cd48430984ad6632a4372b4f99 /apps/gui/quickscreen.c | |
parent | e09df1ce5b6ad23bbbc5c181e780f0064adf98ed (diff) | |
download | rockbox-4f374b38624e7dca94b4f952fc958d9401081ba1.tar.gz rockbox-4f374b38624e7dca94b4f952fc958d9401081ba1.zip |
QuickScreen: Update status bar after changing volume
So that (e.g.) a skin's custom volume bar doesn't appear choppy during
volume adjustments
Change-Id: I65b9c46ccbdea3f2cb84c418d5d2e33e0121acc9
Diffstat (limited to 'apps/gui/quickscreen.c')
-rw-r--r-- | apps/gui/quickscreen.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/gui/quickscreen.c b/apps/gui/quickscreen.c index f1c95ffef2..f8bf98d4ee 100644 --- a/apps/gui/quickscreen.c +++ b/apps/gui/quickscreen.c | |||
@@ -365,10 +365,14 @@ static bool gui_syncquickscreen_run(struct gui_quickscreen * qs, int button_ente | |||
365 | else if (button == ACTION_QS_VOLUP) { | 365 | else if (button == ACTION_QS_VOLUP) { |
366 | global_settings.volume += sound_steps(SOUND_VOLUME); | 366 | global_settings.volume += sound_steps(SOUND_VOLUME); |
367 | setvol(); | 367 | setvol(); |
368 | FOR_NB_SCREENS(i) | ||
369 | skin_update(CUSTOM_STATUSBAR, i, SKIN_REFRESH_NON_STATIC); | ||
368 | } | 370 | } |
369 | else if (button == ACTION_QS_VOLDOWN) { | 371 | else if (button == ACTION_QS_VOLDOWN) { |
370 | global_settings.volume -= sound_steps(SOUND_VOLUME); | 372 | global_settings.volume -= sound_steps(SOUND_VOLUME); |
371 | setvol(); | 373 | setvol(); |
374 | FOR_NB_SCREENS(i) | ||
375 | skin_update(CUSTOM_STATUSBAR, i, SKIN_REFRESH_NON_STATIC); | ||
372 | } | 376 | } |
373 | if ((button == button_enter) && can_quit) | 377 | if ((button == button_enter) && can_quit) |
374 | break; | 378 | break; |