mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-01 09:51:22 +02:00
2. try to fix mute icon hide from lua menu and movieplayer, please teste
This commit is contained in:
@@ -123,12 +123,12 @@ void CAudioMute::enableMuteIcon(bool enable)
|
||||
frameBuffer->fbNoCheck(true);
|
||||
if (enable) {
|
||||
frameBuffer->doPaintMuteIcon(true);
|
||||
do_paint_mute_icon = true;
|
||||
if (neutrino->isMuted())
|
||||
if (!do_paint_mute_icon && neutrino->isMuted())
|
||||
this->paint();
|
||||
do_paint_mute_icon = true;
|
||||
}
|
||||
else {
|
||||
if (!neutrino->isMuted())
|
||||
if (do_paint_mute_icon && !neutrino->isMuted())
|
||||
this->kill();
|
||||
frameBuffer->doPaintMuteIcon(false);
|
||||
do_paint_mute_icon = false;
|
||||
|
Reference in New Issue
Block a user