mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 07:51:19 +02:00
Clock on infoviewer and channellist: Fix background paint...
...when switching between OneColor und ColorToColor
This commit is contained in:
@@ -248,9 +248,11 @@ void CInfoViewer::initClock()
|
||||
{
|
||||
|
||||
static int gradient_top = g_settings.theme.infobar_gradient_top;
|
||||
static int gradient_c2c = g_settings.theme.gradient_c2c;
|
||||
|
||||
if (gradient_top != g_settings.theme.infobar_gradient_top && clock != NULL) {
|
||||
if ((gradient_top != g_settings.theme.infobar_gradient_top || gradient_c2c != g_settings.theme.gradient_c2c) && clock != NULL) {
|
||||
gradient_top = g_settings.theme.infobar_gradient_top;
|
||||
gradient_c2c = g_settings.theme.gradient_c2c;
|
||||
clock->clearSavedScreen();
|
||||
delete clock;
|
||||
clock = NULL;
|
||||
|
Reference in New Issue
Block a user