This commit is contained in:
Harvey committed 2020-09-15 17:42:10 +08:00
1 parent e38873f71a
commit 7a14f73206
4 files changed
+6 -6

No files matched your search

+2 -2
View File
@@ -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);
},
});
+1 -1
View File
@@ -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}°`;
});
},
};