mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 00:41:09 +02:00
filebrowser: minor cleanup
Origin commit data
------------------
Branch: ni/coolstream
Commit: 604ae4b7f8
Author: vanhofen <vanhofen@gmx.de>
Date: 2021-11-01 (Mon, 01 Nov 2021)
Origin message was:
------------------
- filebrowser: minor cleanup
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -1276,7 +1276,7 @@ void CFileBrowser::paintItem(unsigned int pos)
|
|||||||
icon_w = g_IconFont->getWidestWidth();
|
icon_w = g_IconFont->getWidestWidth();
|
||||||
int icon_w_real = g_IconFont->getRenderWidth(fileicon);
|
int icon_w_real = g_IconFont->getRenderWidth(fileicon);
|
||||||
int spacer_x = (icon_w - icon_w_real) / 2;
|
int spacer_x = (icon_w - icon_w_real) / 2;
|
||||||
g_IconFont->RenderString(x + OFFSET_INNER_MID + spacer_x, ypos + g_IconFont->getHeight() /*item_height - spacer_y*/, icon_w_real, fileicon, color);
|
g_IconFont->RenderString(x + OFFSET_INNER_MID + spacer_x, ypos + g_IconFont->getHeight(), icon_w_real, fileicon, color);
|
||||||
g_IconFont->setSize(iconfont_size);
|
g_IconFont->setSize(iconfont_size);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user