add volume icon and slider (#330)

This commit is contained in:
grunjol
2016-04-07 14:24:23 -03:00
parent 5abf421f11
commit ae73ae29c4
3 changed files with 91 additions and 0 deletions

View File

@@ -252,6 +252,9 @@ function dispatch (action, ...args) {
if (action === 'changeVolume') {
changeVolume(args[0] /* increase */)
}
if (action === 'setVolume') {
setVolume(args[0] /* increase */)
}
if (action === 'mediaPlaying') {
state.playing.isPaused = false
ipcRenderer.send('blockPowerSave')