new option: listFolded; listmaxheight -> listMaxHeight

This commit is contained in:
DIYgod
2018-03-08 00:34:01 +08:00
parent 6029ce980c
commit 021df59e85
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -161,7 +161,7 @@ class Controller {
}
initMenuButton () {
this.player.template.list.style.height = this.player.template.list.offsetHeight + 'px';
this.player.template.list.style.height = 33 * this.player.options.music.length - 1 + 'px';
this.player.template.menu.addEventListener('click', () => {
if (!this.player.template.list.classList.contains('aplayer-list-hide')) {
this.player.template.list.classList.add('aplayer-list-hide');