添加设置控制器

This commit is contained in:
Harvey Zack committed 2018-11-02 15:04:16 +08:00
1 parent 711cf5684a
commit 9eab1ed6c0
24 files changed
+297 -119

No files matched your search

+9 -9
View File
@@ -55,32 +55,32 @@ export default class Controls {
index: 30
}));
this.add(new Quality({
disable: this.art.option.quality.length === 0,
position: 'right',
index: 10
}));
this.add(new Danmu({
disable: false,
position: 'right',
index: 10
index: 20
}));
this.add(new Screenshot({
disable: !this.art.option.screenshot,
position: 'right',
index: 20
index: 30
}));
this.add(new Subtitle({
disable: !this.art.option.subtitle.url,
position: 'right',
index: 30
}));
this.add(new Quality({
disable: this.art.option.quality.length === 0,
position: 'right',
index: 40
}));
this.add(new Setting({
disable: false,
disable: !this.art.option.setting,
position: 'right',
index: 50
}));