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
@@ -25,8 +25,11 @@ export default function rotateMix(art, player) {
|
||||
$player.dataset.rotate = deg;
|
||||
}
|
||||
|
||||
notice.show = `${i18n.get('Rotate')}: ${deg}°`;
|
||||
art.emit('rotate', deg);
|
||||
if (typeof deg === 'number') {
|
||||
notice.show = `${i18n.get('Rotate')}: ${deg}°`;
|
||||
}
|
||||
|
||||
art.emit('rotate', deg || 0);
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user