mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-30 14:43:08 +02:00
fix(mfm): default degree not used in rotate (#9831)
This commit is contained in:
parent
54f789bd55
commit
f9a2e98831
1 changed files with 1 additions and 1 deletions
|
@ -195,7 +195,7 @@ export default defineComponent({
|
||||||
return h(MkSparkle, {}, genEl(token.children));
|
return h(MkSparkle, {}, genEl(token.children));
|
||||||
}
|
}
|
||||||
case 'rotate': {
|
case '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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue