Update user.js
This commit is contained in:
parent
76eed8e570
commit
72b09d8b74
|
|
@ -11,7 +11,7 @@ class User {
|
|||
};
|
||||
this.default = {
|
||||
opacity: 0.7,
|
||||
volume: player.options.volume || 0.7,
|
||||
volume: player.options.hasOwnProperty('volume') ? player.options.volume : 0.7,
|
||||
unlimited: (player.options.danmaku && player.options.danmaku.unlimited ? 1 : 0) || 0,
|
||||
danmaku: 1,
|
||||
subtitle: 1
|
||||
|
|
@ -38,4 +38,4 @@ class User {
|
|||
}
|
||||
}
|
||||
|
||||
export default User;
|
||||
export default User;
|
||||
|
|
|
|||
Loading…
Reference in New Issue