mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-28 02:01:20 -08:00
bugfix
This commit is contained in:
1 parent
f69ca07bd7
commit
e38873f71a
5 files changed
+29
-11
No files matched your search
@@ -40,7 +40,10 @@ export default function aspectRatioMix(art, player) {
|
||||
$player.dataset.aspectRatio = ratio;
|
||||
}
|
||||
|
||||
notice.show = `${i18n.get('Aspect ratio')}: ${ratio === 'default' ? i18n.get('Default') : ratio}`;
|
||||
if (typeof ratio === 'string') {
|
||||
notice.show = `${i18n.get('Aspect ratio')}: ${ratio === 'default' ? i18n.get('Default') : ratio}`;
|
||||
}
|
||||
|
||||
art.emit('aspectRatio', ratio);
|
||||
},
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user