mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 16:01:10 +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
Origin commit data
------------------
Branch: ni/coolstream
Commit: 94765187bc
Author: Thilo Graf <dbt@novatux.de>
Date: 2011-06-28 (Tue, 28 Jun 2011)
Origin message was:
------------------
*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 was generated by Migit
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