Skip to content

Commit

Permalink
Fix 快捷键操作 音量操作失效 && update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
sunzongzheng committed Sep 5, 2018
1 parent 6ad6bf5 commit 27a6b42
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,14 @@
- 版本计划见[Projects](https://github.com/sunzongzheng/music/projects)

# 更新日志
- 2018-09-05
- 更换图标/包名
- 注意:由于更换包名,自动更新功能 重启后不会打开新版程序,重启后请自行找到新版程序并手动删除旧版程序
- 快捷键控制[@issues#12](https://github.com/sunzongzheng/music/issues/29)
- Mac下 touchaBar控制[@issues#12](https://github.com/sunzongzheng/music/issues/30)
- 排行榜加缓存
- 列表支持右键菜单 && 一大波样式调整

- 2018-08-26:
- 排行榜 分榜合并 加速首屏
- 新增 专辑详情页
Expand Down
8 changes: 2 additions & 6 deletions src/renderer/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -79,14 +79,10 @@
this.next()
break
case 'volumeIncrease':
this.updateVolume({
volume: this.volume + 10 > 100 ? 100 : this.volume + 10
})
this.updateVolume(this.volume + 10 > 100 ? 100 : this.volume + 10)
break
case 'volumeDecrease':
this.updateVolume({
volume: this.volume - 10 < 0 ? 0 : this.volume - 10
})
this.updateVolume(this.volume - 10 < 0 ? 0 : this.volume - 10)
}
}
},
Expand Down

0 comments on commit 27a6b42

Please sign in to comment.