From a64225c09a6a5a08ab1a87d0c87525c00d342f41 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Mon, 10 Apr 2017 21:43:01 +0200 Subject: [PATCH] - epgplus: add missing separationline to clearMark() function --- src/gui/epgplus.cpp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/gui/epgplus.cpp b/src/gui/epgplus.cpp index 9e290bab6..66be1d059 100644 --- a/src/gui/epgplus.cpp +++ b/src/gui/epgplus.cpp @@ -268,6 +268,13 @@ void EpgPlus::TimeLine::clearMark() { this->frameBuffer->paintBoxRel(this->x, this->y + this->font->getHeight(), this->width, this->font->getHeight() , COL_MENUCONTENT_PLUS_0); + + // paint the separation line + if (separationLineThickness > 0) + { + this->frameBuffer->paintBoxRel(this->x, this->y + this->font->getHeight() + this->font->getHeight(), + this->width, this->separationLineThickness, COL_MENUCONTENTDARK_PLUS_0); + } } int EpgPlus::TimeLine::getUsedHeight() @@ -333,7 +340,8 @@ void EpgPlus::ChannelEventEntry::paint(bool pisSelected, bool toggleColor) this->width, this->separationLineThickness, COL_MENUCONTENTDARK_PLUS_0); } - if (pisSelected) { + if (pisSelected) + { if (this->channelEvent.description.empty()) { // dummy channel event this->timeLine->clearMark();