mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-06 05:08:29 +02:00
CInfoClock: Fix paint info clock when mute icon is displayed
Origin commit data
------------------
Commit: 6a5d335430
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-11-20 (Wed, 20 Nov 2013)
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