mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 15:32:59 +02:00
*neutrino menu: paint shortcut numebr only if item is active
We should do the same as with icons. git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1557 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -250,7 +250,7 @@ void CMenuItem::paintItemButton(const bool select_mode, const int &item_height,
|
||||
}
|
||||
|
||||
//paint only number if no icon was painted and keyval is numeric
|
||||
if (CRCInput::isNumeric(directKey) && !icon_painted)
|
||||
if (active && CRCInput::isNumeric(directKey) && !icon_painted)
|
||||
{
|
||||
int number_w = g_Font[SNeutrinoSettings::FONT_TYPE_MENU]->getRenderWidth(CRCInput::getKeyName(directKey));
|
||||
|
||||
|
Reference in New Issue
Block a user