mirror of https://github.com/lcpz/lain.git
Fix muted problem. To know if the sound is mute we have to check if mute == "yes" instead of mute == "no"
This commit is contained in:
parent
6c40d0ffc7
commit
762ebb043e
|
@ -134,7 +134,7 @@ local function worker(args)
|
||||||
then
|
then
|
||||||
pulsebar._current_level = volu
|
pulsebar._current_level = volu
|
||||||
pulsebar.bar:set_value(pulsebar._current_level / 100)
|
pulsebar.bar:set_value(pulsebar._current_level / 100)
|
||||||
if not mute and volu == 0 or mute == "no"
|
if not mute and volu == 0 or mute == "yes"
|
||||||
then
|
then
|
||||||
pulsebar._muted = true
|
pulsebar._muted = true
|
||||||
pulsebar.tooltip:set_text (" [Muted] ")
|
pulsebar.tooltip:set_text (" [Muted] ")
|
||||||
|
|
Loading…
Reference in New Issue