Add bounce MFM animation

This commit is contained in:
syuilo
2020-11-08 17:08:51 +09:00
parent 9d1fa3f202
commit 66c4e8064b
4 changed files with 25 additions and 0 deletions

View File

@@ -117,6 +117,10 @@ export default defineComponent({
style = this.$store.state.device.animatedMfm ? 'animation: mfm-jump 0.75s linear infinite;' : '';
break;
}
case 'bounce': {
style = this.$store.state.device.animatedMfm ? 'animation: mfm-bounce 0.75s linear infinite; transform-origin: center bottom;' : '';
break;
}
case 'flip': {
const transform =
(token.node.props.args.h && token.node.props.args.v) ? 'scale(-1, -1)' :