diff options
author | Martin Schirrmacher <vdr.skinflatplus@schirrmacher.eu> | 2016-08-26 20:17:41 +0200 |
---|---|---|
committer | Martin Schirrmacher <vdr.skinflatplus@schirrmacher.eu> | 2016-08-26 20:17:41 +0200 |
commit | 4946d16c83f889cda28912c702d1d10050f6dd22 (patch) | |
tree | 3f4ed373328df5d3fa912a492d20355a4d4e7d84 | |
parent | cc3fef36658d5061ab24dd719a463cc2c52383c3 (diff) | |
download | skin-flatplus-4946d16c83f889cda28912c702d1d10050f6dd22.tar.gz skin-flatplus-4946d16c83f889cda28912c702d1d10050f6dd22.tar.bz2 |
[fix] display replay - progressbar if there are no marks
-rw-r--r-- | HISTORY | 1 | ||||
-rw-r--r-- | baserender.c | 5 |
2 files changed, 3 insertions, 3 deletions
@@ -9,6 +9,7 @@ VDR Plugin 'skinflatplus' Revision History - [fix] uninitialized pointer in displayrecoding (crash in plex-plugin and others) (thanks chriszero) - [fix] recordings name in recording menu (thanks to Delekhan @ vdr-portal.de) - [fix] dvb widget - discard not used and discard unknown +- [fix] display replay - progressbar if there are no marks - [update] default themes inverted style, selected item fore color is now back color - [update] disk usage icons with 32 sections instead of 16, thanks to MegaV0lt diff --git a/baserender.c b/baserender.c index 56fcc0e1..ec91910e 100644 --- a/baserender.c +++ b/baserender.c @@ -746,7 +746,6 @@ void cFlatBaseRender::ProgressBarDrawRaw(cPixmap *Pixmap, cPixmap *PixmapBg, cRe else Pixmap->DrawRectangle(cRect( rect.Left(), rect.Top(), rect.Width(), rect.Height()), clrTransparent); } - switch( Type ) { case 0: // small line + big line { @@ -924,14 +923,14 @@ void cFlatBaseRender::ProgressBarDrawMarks(int Current, int Total, const cMarks int big = Config.decorProgressReplaySize - sml*2 - 2; if( !Marks ) { - progressBarColorFg = progressBarColorBarCurFg; + //progressBarColorFg = progressBarColorBarFg; progressBarColorBarFg = progressBarColorBarCurFg; ProgressBarDraw(Current, Total); return; } if( !Marks->First() ) { - progressBarColorFg = progressBarColorBarCurFg; + //progressBarColorFg = progressBarColorBarCurFg; progressBarColorBarFg = progressBarColorBarCurFg; ProgressBarDraw(Current, Total); |