enable tada animation for reduced motion (as it has a reduced motion version)

This commit is contained in:
ThatOneCalculator 2022-11-29 18:48:49 -08:00
parent 0d032b90d0
commit 5534d76002
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{
"name": "calckey",
"version": "12.119.0-calc.18-rc.4",
"version": "12.119.0-calc.18-rc.5",
"codename": "aqua",
"repository": {
"type": "git",

View File

@ -94,7 +94,7 @@ export default defineComponent({
switch (token.props.name) {
case 'tada': {
const speed = validTime(token.props.args.speed) || '1s';
style = 'font-size: 150%;' + (this.$store.state.animatedMfm && !reducedMotion() ? `animation: tada ${speed} linear infinite both;` : '');
style = 'font-size: 150%;' + (this.$store.state.animatedMfm ? `animation: tada ${speed} linear infinite both;` : '');
break;
}
case 'jelly': {