mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-25 08:01:20 -08:00
添加更多设置项
This commit is contained in:
1 parent
0bc9c88af2
commit
f6295c1fbc
6 files changed
+149
-9
No files matched your search
@@ -1,5 +1,7 @@
|
||||
import component from '../utils/component';
|
||||
import flip from './flip';
|
||||
import aspectRatio from './aspectRatio';
|
||||
import playbackRate from './playbackRate';
|
||||
|
||||
export default class Setting {
|
||||
constructor(art) {
|
||||
@@ -33,7 +35,23 @@ export default class Setting {
|
||||
flip({
|
||||
disable: false,
|
||||
name: 'flip',
|
||||
index: 10,
|
||||
index: 1,
|
||||
}),
|
||||
);
|
||||
|
||||
this.add(
|
||||
aspectRatio({
|
||||
disable: false,
|
||||
name: 'aspectRatio',
|
||||
index: 2,
|
||||
}),
|
||||
);
|
||||
|
||||
this.add(
|
||||
playbackRate({
|
||||
disable: false,
|
||||
name: 'playbackRate',
|
||||
index: 3,
|
||||
}),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user