summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/gui/wps.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/apps/gui/wps.c b/apps/gui/wps.c
index 4553970..79f35c6 100644
--- a/apps/gui/wps.c
+++ b/apps/gui/wps.c
@@ -630,6 +630,7 @@ int wps_get_touchaction(struct wps_data *data)
break;
case WPS_TOUCHREGION_VOLUME:
{
+ int i;
const int min_vol = sound_min(SOUND_VOLUME);
const int max_vol = sound_max(SOUND_VOLUME);
if(r->width > r->height)
@@ -643,7 +644,11 @@ int wps_get_touchaction(struct wps_data *data)
global_settings.volume += min_vol;
setvol();
- break;
+ FOR_NB_SCREENS(i)
+ {
+ gui_wps[i].data->button_time_volume = current_tick;
+ }
+ return ACTION_REDRAW;
}
}
}