mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-21 04:31:20 -08:00
update lint
This commit is contained in:
1 parent
e5ba6fcb95
commit
4dbc42cef3
9 files changed
+214
-168
No files matched your search
@@ -56,7 +56,8 @@ export default function aspectRatioMix(art, player) {
|
||||
Object.defineProperty(player, 'aspectRatioReset', {
|
||||
set(value) {
|
||||
if (value && player.aspectRatio) {
|
||||
player.aspectRatio = player.aspectRatio;
|
||||
const { aspectRatio } = player
|
||||
player.aspectRatio = aspectRatio;
|
||||
art.emit('aspectRatioReset');
|
||||
}
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user