fix(minor): consistent mfm parsing

This commit is contained in:
naskya 2023-10-31 10:04:51 +00:00
parent 70503d698f
commit 0fb0a19611

View File

@ -264,7 +264,7 @@ export default defineComponent({
: token.props.args.y : token.props.args.y
? "perspective(128px) rotateY" ? "perspective(128px) rotateY"
: "rotate"; : "rotate";
const degrees = parseFloat(token.props.args.deg) ?? "90"; const degrees = parseFloat(token.props.args.deg ?? "90");
style = `transform: ${rotate}(${degrees}deg); transform-origin: center center;`; style = `transform: ${rotate}(${degrees}deg); transform-origin: center center;`;
break; break;
} }