mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-26 08:51:20 -08:00
update aspectRatioReset
This commit is contained in:
1 parent
61cf68f0bc
commit
ad8c50ddd7
9 files changed
+91
-93
No files matched your search
@@ -44,11 +44,9 @@ export default function aspectRatioMix(art) {
|
||||
});
|
||||
|
||||
def(art, 'aspectRatioReset', {
|
||||
set(value) {
|
||||
if (value) {
|
||||
const { aspectRatio } = art;
|
||||
art.aspectRatio = aspectRatio;
|
||||
}
|
||||
value() {
|
||||
const { aspectRatio } = art;
|
||||
art.aspectRatio = aspectRatio;
|
||||
},
|
||||
});
|
||||
}
|
||||
Reference in new issue
Block a user