mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 02:11:04 +02:00
move ENABLE_CHANGE_OSD_RESOLUTION to scale2Res() function
Origin commit data
------------------
Commit: 43dbfed1ba
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-02-19 (Sun, 19 Feb 2017)
Origin message was:
------------------
- 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