mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-08 22:28:28 +02:00
2. try to fix mute icon hide from lua menu and movieplayer, please teste
Origin commit data
------------------
Branch: ni/coolstream
Commit: e4c3496423
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2019-04-04 (Thu, 04 Apr 2019)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
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