mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 00:41:17 +02:00
CInfoClock: ensure use of current theme colors
If user has changed colors or theme, new color settings must be applied, otherwise settings have no effect.
This commit is contained in:
@@ -61,6 +61,10 @@ void CInfoClock::Init()
|
||||
oldSize = g_settings.infoClockFontSize;
|
||||
setClockFontSize(g_settings.infoClockFontSize);
|
||||
}
|
||||
|
||||
//use current theme colors
|
||||
syncSysColors();
|
||||
|
||||
int x_old = x, y_old = y, width_old = width, height_old = height;
|
||||
CVolumeHelper::getInstance()->refresh(cl_font);
|
||||
CVolumeHelper::getInstance()->getInfoClockDimensions(&x, &y, &width, &height);
|
||||
|
Reference in New Issue
Block a user