mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
CInfoClock: Fix paint info clock when mute icon is displayed
This commit is contained in:
@@ -340,6 +340,14 @@ void CVolumeHelper::initVolBarSize()
|
||||
}
|
||||
}
|
||||
|
||||
int CVolumeHelper::getInfoClockX()
|
||||
{
|
||||
if (CNeutrinoApp::getInstance()->isMuted())
|
||||
return clock_ax - mute_dx - h_spacer;
|
||||
else
|
||||
return clock_ax;
|
||||
}
|
||||
|
||||
void CVolumeHelper::refresh()
|
||||
{
|
||||
Init();
|
||||
|
Reference in New Issue
Block a user