lib/volay/widget/volume_control.rb in volay-0.6.0 vs lib/volay/widget/volume_control.rb in volay-0.7.0
- old
+ new
@@ -26,10 +26,10 @@
##
# When mute toggle image is clicked
#
def on_toggle_mute_toggled
Thread.new do
- @app.mixer.toggle
+ @app.mixer.toggle unless widget.active? && @app.mixer.muted?
@app.utils.update_status_icon
end
end
end
end