diff options
author | kamel5 <vdr.kamel5 (at) gmx (dot) net> | 2021-05-25 18:25:59 +0200 |
---|---|---|
committer | kamel5 <vdr.kamel5 (at) gmx (dot) net> | 2021-06-10 14:34:58 +0200 |
commit | 57e11c262486b885ec90689e02c14f9062d91b44 (patch) | |
tree | 6ad8c4c67be221fb7f1fd864f87a3782c59757af | |
parent | bcb304669b0eba81c40896c28983349ca3fa2b04 (diff) | |
download | skin-lcarsng-57e11c262486b885ec90689e02c14f9062d91b44.tar.gz skin-lcarsng-57e11c262486b885ec90689e02c14f9062d91b44.tar.bz2 |
Optical change
The remaining time in the display channel was not deleted correctly.
-rw-r--r-- | displaychannel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/displaychannel.c b/displaychannel.c index 32cf2a6..613c043 100644 --- a/displaychannel.c +++ b/displaychannel.c @@ -211,7 +211,7 @@ void cLCARSNGDisplayChannel::DrawSeen(int Current, int Total) // display time remaining cString time = ((Current / 60.0) > 0.1) ? cString::sprintf("-%d", max((int)ceil((Total - Current) / 60.0), 0)) : ""; int w = cFont::GetFont(fontSml)->Width(time); - osd->DrawRectangle(xc10 + Margin, yc03 + lineHeight + 2 * Margin + Gap / 2, xc10m - 1 - 2 * Margin, yc04 - Margin, Theme.Color(clrBackground)); //Backgroung time remaining + osd->DrawRectangle(xc10 + Margin, yc03 + lineHeight + 2 * Margin + Gap / 2, xc10m - Margin, yc04 - Margin, Theme.Color(clrBackground)); //Backgroung time remaining osd->DrawText(xc10 + Margin + (xc10m - xc10 - 1 - 2 * Margin - w), yc03 + lineHeight + 2 * Margin + Gap / 2, time, Theme.Color(clrEventShortText), textColorBg, cFont::GetFont(fontSml), w, lineHeight - 2 * Margin, taRight | taBorder); // time remaining lastSeen = Seen; } |