mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-19 11:21:20 -08:00
添加灯光模式
This commit is contained in:
1 parent
4867d8e25a
commit
3379e6091c
18 files changed
+170
-54
No files matched your search
@@ -4,7 +4,7 @@ import playbackRate from './playbackRate';
|
||||
import aspectRatio from './aspectRatio';
|
||||
import info from './info';
|
||||
import version from './version';
|
||||
import close from './close';
|
||||
import light from './light';
|
||||
|
||||
export default class Contextmenu extends Component {
|
||||
constructor(art) {
|
||||
@@ -54,9 +54,9 @@ export default class Contextmenu extends Component {
|
||||
);
|
||||
|
||||
this.add(
|
||||
close({
|
||||
disable: false,
|
||||
name: 'close',
|
||||
light({
|
||||
disable: !option.light,
|
||||
name: 'light',
|
||||
index: 50,
|
||||
}),
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user