mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-15 17:16:16 -08:00
添加flip配置项
This commit is contained in:
1 parent
f6295c1fbc
commit
0fd8a85ea9
7 files changed
+19
-17
No files matched your search
@@ -21,6 +21,7 @@ export default class Setting {
|
||||
|
||||
init() {
|
||||
const {
|
||||
option,
|
||||
template: { $setting },
|
||||
events: { proxy },
|
||||
} = this.art;
|
||||
@@ -33,25 +34,22 @@ export default class Setting {
|
||||
|
||||
this.add(
|
||||
flip({
|
||||
disable: false,
|
||||
disable: !option.flip,
|
||||
name: 'flip',
|
||||
index: 1,
|
||||
}),
|
||||
);
|
||||
|
||||
this.add(
|
||||
aspectRatio({
|
||||
disable: false,
|
||||
disable: !option.aspectRatio,
|
||||
name: 'aspectRatio',
|
||||
index: 2,
|
||||
}),
|
||||
);
|
||||
|
||||
this.add(
|
||||
playbackRate({
|
||||
disable: false,
|
||||
disable: !option.playbackRate,
|
||||
name: 'playbackRate',
|
||||
index: 3,
|
||||
}),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user