mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-03 10:51:05 +02:00
channellist: fix display of hotkeys in history mode
Origin commit data
------------------
Branch: ni/coolstream
Commit: f378f92bba
Author: vanhofen <vanhofen@gmx.de>
Date: 2023-06-28 (Wed, 28 Jun 2023)
Origin message was:
------------------
- channellist: fix display of hotkeys in history mode
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -2145,7 +2145,8 @@ void CChannelList::paintItem(int pos, const bool firstpaint)
|
|||||||
else if (g_settings.channellist_show_numbers)
|
else if (g_settings.channellist_show_numbers)
|
||||||
{
|
{
|
||||||
int numpos = x + OFFSET_INNER_MID + numwidth - g_Font[SNeutrinoSettings::FONT_TYPE_CHANNELLIST_NUMBER]->getRenderWidth(tmp);
|
int numpos = x + OFFSET_INNER_MID + numwidth - g_Font[SNeutrinoSettings::FONT_TYPE_CHANNELLIST_NUMBER]->getRenderWidth(tmp);
|
||||||
g_Font[SNeutrinoSettings::FONT_TYPE_CHANNELLIST_NUMBER]->RenderString(numpos, ypos + fheight, numwidth + 5, tmp, color, fheight);
|
if (!this->historyMode || (this->historyMode && pos <= 9)) // history mode only uses digits 0..9 as hotkeys
|
||||||
|
g_Font[SNeutrinoSettings::FONT_TYPE_CHANNELLIST_NUMBER]->RenderString(numpos, ypos + fheight, numwidth + 5, tmp, color, fheight);
|
||||||
}
|
}
|
||||||
else if (!edit_state)
|
else if (!edit_state)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user