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 b398001533
commit 9903cb2b37
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': {