diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2020-11-08 17:08:51 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2020-11-08 17:08:51 +0900 |
| commit | 66c4e8064b929b8cf8325fb55cba85bc01e67bf6 (patch) | |
| tree | 12f8a56e65bc4cdcb74271a275aa8c335497e395 /src/client/components/mfm.ts | |
| parent | autoWatch機能を削除 (diff) | |
| download | sharkey-66c4e8064b929b8cf8325fb55cba85bc01e67bf6.tar.gz sharkey-66c4e8064b929b8cf8325fb55cba85bc01e67bf6.tar.bz2 sharkey-66c4e8064b929b8cf8325fb55cba85bc01e67bf6.zip | |
Add bounce MFM animation
Diffstat (limited to 'src/client/components/mfm.ts')
| -rw-r--r-- | src/client/components/mfm.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/client/components/mfm.ts b/src/client/components/mfm.ts index 0b25f0b183..d83cd41528 100644 --- a/src/client/components/mfm.ts +++ b/src/client/components/mfm.ts @@ -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)' : |