Merge pull request #202 from mnivoliez/master

Fix muted problem in pulsebar
This commit is contained in:
Luke Bonham 2016-05-29 20:01:48 +02:00
commit 153806998f
1 changed files with 6 additions and 6 deletions

View File

@ -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] ")