mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-29 02:51:20 -08:00
bugfix
This commit is contained in:
1 parent
e38873f71a
commit
7a14f73206
4 files changed
+6
-6
No files matched your search
@@ -28,8 +28,8 @@ export default function rotateMix(art, player) {
|
||||
if (typeof deg === 'number') {
|
||||
notice.show = `${i18n.get('Rotate')}: ${deg}°`;
|
||||
}
|
||||
|
||||
art.emit('rotate', deg || 0);
|
||||
|
||||
art.emit('rotate', deg);
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@ export default function rotate(option) {
|
||||
mounted: ($setting) => {
|
||||
const $value = query('.art-rotate-value', $setting);
|
||||
art.on('rotate', (rotate) => {
|
||||
$value.innerText = `${rotate}°`;
|
||||
$value.innerText = `${rotate || 0}°`;
|
||||
});
|
||||
},
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user