mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-03 19:01:25 +02:00
- move ENABLE_CHANGE_OSD_RESOLUTION to scale2Res() function
This commit is contained in:
@@ -75,10 +75,7 @@ void CInfoClock::initCCLockItems()
|
||||
setClockFormat("%H:%M", "%H %M");
|
||||
|
||||
//set height, NOTE: height is strictly bound to settings
|
||||
height = g_settings.infoClockFontSize;
|
||||
#ifdef ENABLE_CHANGE_OSD_RESOLUTION
|
||||
height = CFrameBuffer::getInstance()->scale2Res(height);
|
||||
#endif
|
||||
height = CFrameBuffer::getInstance()->scale2Res(g_settings.infoClockFontSize);
|
||||
initClockFont(0, height);
|
||||
|
||||
// set corner radius depending on clock height
|
||||
|
Reference in New Issue
Block a user