diff options
Diffstat (limited to 'apps/wps-display.c')
-rw-r--r-- | apps/wps-display.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/apps/wps-display.c b/apps/wps-display.c index 17e5fa5aca..701d2e2d21 100644 --- a/apps/wps-display.c +++ b/apps/wps-display.c | |||
@@ -916,8 +916,12 @@ bool wps_refresh(struct mp3entry* id3, | |||
916 | int percent= | 916 | int percent= |
917 | id3->length? | 917 | id3->length? |
918 | (id3->elapsed + ff_rewind_count) * 100 / id3->length:0; | 918 | (id3->elapsed + ff_rewind_count) * 100 / id3->length:0; |
919 | slidebar(0, i*h + offset + 1, LCD_WIDTH, 6, | 919 | if(global_settings.progressbar_solid) |
920 | percent, Grow_Right); | 920 | scrollbar(0, i*h + offset + 1, LCD_WIDTH, 6, 100, 0, |
921 | percent, HORIZONTAL); | ||
922 | else | ||
923 | slidebar(0, i*h + offset + 1, LCD_WIDTH, 6, | ||
924 | percent, Grow_Right); | ||
921 | update_line = true; | 925 | update_line = true; |
922 | } | 926 | } |
923 | if (flags & refresh_mode & WPS_REFRESH_PEAK_METER) { | 927 | if (flags & refresh_mode & WPS_REFRESH_PEAK_METER) { |